Commit b806c1b0 authored by Dries's avatar Dries
Browse files

- Patch #259001 by paul.lovvik: drupal_cron_run should ignore a user abort.

parent c6c26b5e
......@@ -2502,10 +2502,11 @@ function page_set_cache() {
* Returns TRUE if ran successfully
function drupal_cron_run() {
// If not in 'safe mode', increase the maximum execution time:
if (!ini_get('safe_mode')) {
// Allow execution to continue even if the request gets canceled.
// Increase the maximum execution time.
// Fetch the cron semaphore
$semaphore = variable_get('cron_semaphore', FALSE);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment