1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-06 16:56:44 +02:00

Merge pull request #2523 from bantu/ticket/12597

[ticket/12597] Command for executing all available cron tasks

* bantu/ticket/12597:
  [ticket/12597] Update USE_SYSTEM_CRON_EXPLAIN to be a bit more verbose.
  [ticket/12597] Improve language for cron:run command.
  [ticket/12597] Do not output anything besides the gif image.
This commit is contained in:
Joas Schilling
2014-05-30 22:52:01 +02:00
4 changed files with 7 additions and 17 deletions

View File

@@ -41,8 +41,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', '');
@@ -68,12 +66,4 @@ if ($cron_lock->acquire())
}
}
$cron_lock->release();
}
else
{
if (defined('DEBUG'))
{
echo $user->lang('CRON_LOCK_ERROR') . "\n";
}
}