Closed (fixed)
Project:
Drupal core
Version:
7.x-dev
Component:
documentation
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
26 Jan 2011 at 23:02 UTC
Updated:
4 Apr 2011 at 18:41 UTC
Jump to comment: Most recent file
Comments
Comment #1
arianek commentedapi docs, moving to core queue
Comment #2
jhodgdonOK. drupal_cron_run() is the function that actually invokes hook_cron(), and there are 5 functions in d7 that call it, plus cron.php. So the doc should be updated.
http://api.drupal.org/api/drupal/includes--common.inc/function/drupal_cr...
Comment #3
jhodgdonI think the best fix for the doc is just to delete that line, since the next paragraph explains when hook_cron() gets invoked.
Here's a patch.
Comment #4
kim-day commentedI tested the patch and it works correctly - looks good
Comment #5
jhodgdonmarking rtbc as per kim-day's review
Comment #6
jhodgdonNeeds to go to d8 and then d7
Comment #7
dries commentedCommitted to 8.x. Moving to 7.x.
Comment #8
webchickCommitted to 7.x. Thanks!