1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 22:10:45 +02:00

[ticket/12597] Modification of return statuses and of test files

PHPBB3-12597
This commit is contained in:
LEZY Thomas
2014-05-28 18:02:30 +02:00
parent 5fca308138
commit 0d839cbefc
3 changed files with 16 additions and 7 deletions

View File

@@ -2,6 +2,14 @@
class phpbb_cron_task_simple extends \phpbb\cron\task\base
{
public $executed;
public function __construct()
{
$executed = false;
parent::__construct();
}
public function get_name()
{
return get_class($this);
@@ -9,7 +17,6 @@ class phpbb_cron_task_simple extends \phpbb\cron\task\base
public function run()
{
global $cron_num_exec;
$cron_num_exec++;
$this->executed = true;
}
}