diff options
| author | Nathaniel Guse <nathaniel.guse@gmail.com> | 2012-11-10 10:45:02 -0600 |
|---|---|---|
| committer | Nathaniel Guse <nathaniel.guse@gmail.com> | 2012-11-10 10:45:02 -0600 |
| commit | bd37f7f6c04780819dfa8f81b2d761b91859fd67 (patch) | |
| tree | a4dc4bd1c1d7ba2e21e35ef57dee353defc7da9f /phpBB/cron.php | |
| parent | 7085a6c74d9bc5a4c5a92033977a89f56cce01e1 (diff) | |
| download | forums-bd37f7f6c04780819dfa8f81b2d761b91859fd67.tar forums-bd37f7f6c04780819dfa8f81b2d761b91859fd67.tar.gz forums-bd37f7f6c04780819dfa8f81b2d761b91859fd67.tar.bz2 forums-bd37f7f6c04780819dfa8f81b2d761b91859fd67.tar.xz forums-bd37f7f6c04780819dfa8f81b2d761b91859fd67.zip | |
[ticket/11189] Replace DEBUG_EXTRA with DEBUG
PHPBB3-11189
Diffstat (limited to 'phpBB/cron.php')
| -rw-r--r-- | phpBB/cron.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/phpBB/cron.php b/phpBB/cron.php index 95d2f8f9b6..787183f689 100644 --- a/phpBB/cron.php +++ b/phpBB/cron.php @@ -39,7 +39,7 @@ function do_cron($cron_lock, $run_tasks) foreach ($run_tasks as $task) { - if (defined('DEBUG_EXTRA') && $config['use_system_cron']) + if (defined('DEBUG') && $config['use_system_cron']) { echo "[phpBB cron] Running task '{$task->get_name()}'\n"; } @@ -57,7 +57,7 @@ function do_cron($cron_lock, $run_tasks) // // Attempt to alleviate the problem by doing setup outside of the lock as much as possible. // -// If DEBUG_EXTRA is defined and cron lock cannot be obtained, a message will be printed. +// If DEBUG is defined and cron lock cannot be obtained, a message will be printed. if ($config['use_system_cron']) { @@ -100,7 +100,7 @@ if ($cron_lock->acquire()) } else { - if (defined('DEBUG_EXTRA')) + if (defined('DEBUG')) { echo "Could not obtain cron lock.\n"; } |
