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:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user