aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Fischer <bantu@phpbb.com>2014-05-30 19:41:49 +0200
committerAndreas Fischer <bantu@phpbb.com>2014-05-30 19:41:49 +0200
commita8e412e2b74f7300c29ac0f30184b41f86cd6f20 (patch)
treeb3e494fce956cee4d8bad8c3392d124a845d0f93
parentfa3a634ae11af0a89000d5770b1c3fae10486195 (diff)
downloadforums-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.php10
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";
- }
}