1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-06-07 06:55:25 +02:00

[ticket/12597] Do not output anything besides the gif image.

PHPBB3-12597
This commit is contained in:
Andreas Fischer 2014-05-30 19:41:49 +02:00
parent fa3a634ae1
commit a8e412e2b7

View File

@ -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";
}
}