From a8a21a56c9a4893a5e966e081ca8c0b753cbbf6f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=A1bor=20Hojtsy?= Date: Wed, 23 Sep 2009 09:09:30 +0000 Subject: [PATCH] #193383 follow up by TheRec: (regression) - some set_time_limit() numbers were inadvertently removed in the previous patch. --- includes/common.inc | 2 +- modules/node/node.module | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/common.inc b/includes/common.inc index fa3878e347c..2f5d6b1b248 100644 --- a/includes/common.inc +++ b/includes/common.inc @@ -2662,7 +2662,7 @@ function page_set_cache() { function drupal_cron_run() { // Try to allocate enough time to run all the hook_cron implementations. if (function_exists('set_time_limit')) { - @set_time_limit($time_limit); + @set_time_limit(240); } // Fetch the cron semaphore diff --git a/modules/node/node.module b/modules/node/node.module index b94eab8f718..2f56c79fee7 100644 --- a/modules/node/node.module +++ b/modules/node/node.module @@ -2320,7 +2320,7 @@ function node_access_rebuild($batch_mode = FALSE) { else { // Try to allocate enough time to rebuild node grants if (function_exists('set_time_limit')) { - @set_time_limit($time_limit); + @set_time_limit(240); } $result = db_query("SELECT nid FROM {node}"); while ($node = db_fetch_object($result)) {