From a8e412e2b74f7300c29ac0f30184b41f86cd6f20 Mon Sep 17 00:00:00 2001 From: Andreas Fischer Date: Fri, 30 May 2014 19:41:49 +0200 Subject: [PATCH] [ticket/12597] Do not output anything besides the gif image. PHPBB3-12597 --- phpBB/cron.php | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/phpBB/cron.php b/phpBB/cron.php index 0cae2ea130..97d9b4b0aa 100644 --- a/phpBB/cron.php +++ b/phpBB/cron.php @@ -37,8 +37,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', ''); @@ -64,12 +62,4 @@ if ($cron_lock->acquire()) } } $cron_lock->release(); - -} -else -{ - if (defined('DEBUG')) - { - echo $user->lang('CRON_LOCK_ERROR') . "\n"; - } }