diff options
Diffstat (limited to 'phpBB/cron.php')
-rw-r--r-- | phpBB/cron.php | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/phpBB/cron.php b/phpBB/cron.php index 611d5d4aaf..8bb49bd5d2 100644 --- a/phpBB/cron.php +++ b/phpBB/cron.php @@ -41,8 +41,6 @@ function output_image() // the cron lock locked, especially when working on cron-related code. // // Attempt to alleviate the problem by doing setup outside of the lock as much as possible. -// -// If DEBUG is defined and cron lock cannot be obtained, a message will be printed. $cron_type = request_var('cron_type', ''); @@ -68,12 +66,4 @@ if ($cron_lock->acquire()) } } $cron_lock->release(); - -} -else -{ - if (defined('DEBUG')) - { - echo $user->lang('CRON_LOCK_ERROR') . "\n"; - } } |