mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-08 07:27:17 +02:00
[ticket/12597] Do not output anything besides the gif image.
PHPBB3-12597
This commit is contained in:
parent
fa3a634ae1
commit
a8e412e2b7
@ -37,8 +37,6 @@ function output_image()
|
|||||||
// the cron lock locked, especially when working on cron-related code.
|
// 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.
|
// 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', '');
|
$cron_type = request_var('cron_type', '');
|
||||||
|
|
||||||
@ -64,12 +62,4 @@ if ($cron_lock->acquire())
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
$cron_lock->release();
|
$cron_lock->release();
|
||||||
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
if (defined('DEBUG'))
|
|
||||||
{
|
|
||||||
echo $user->lang('CRON_LOCK_ERROR') . "\n";
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user