diff options
author | Andreas Fischer <bantu@phpbb.com> | 2014-05-30 19:41:49 +0200 |
---|---|---|
committer | Andreas Fischer <bantu@phpbb.com> | 2014-05-30 19:41:49 +0200 |
commit | a8e412e2b74f7300c29ac0f30184b41f86cd6f20 (patch) | |
tree | b3e494fce956cee4d8bad8c3392d124a845d0f93 | |
parent | fa3a634ae11af0a89000d5770b1c3fae10486195 (diff) | |
download | forums-a8e412e2b74f7300c29ac0f30184b41f86cd6f20.tar forums-a8e412e2b74f7300c29ac0f30184b41f86cd6f20.tar.gz forums-a8e412e2b74f7300c29ac0f30184b41f86cd6f20.tar.bz2 forums-a8e412e2b74f7300c29ac0f30184b41f86cd6f20.tar.xz forums-a8e412e2b74f7300c29ac0f30184b41f86cd6f20.zip |
[ticket/12597] Do not output anything besides the gif image.
PHPBB3-12597
-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 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"; - } } |