mirror of
https://github.com/phpbb/phpbb.git
synced 2025-02-24 03:54:10 +01:00
Actually fix the return status of command cron:run-all Fix some doc block coding style issue Fix missing and obsolete file headers Delete a useless constructor method PHPBB3-12597
28 lines
464 B
PHP
28 lines
464 B
PHP
<?php
|
|
/**
|
|
*
|
|
* This file is part of the phpBB Forum Software package.
|
|
*
|
|
* @copyright (c) phpBB Limited
|
|
* @license GNU General Public License, version 2 (GPL-2.0)
|
|
*
|
|
* For full copyright and license information, please see
|
|
* the docs/CREDITS.txt file.
|
|
*
|
|
*/
|
|
|
|
class phpbb_cron_task_simple extends \phpbb\cron\task\base
|
|
{
|
|
public $executed = false;
|
|
|
|
public function get_name()
|
|
{
|
|
return get_class($this);
|
|
}
|
|
|
|
public function run()
|
|
{
|
|
$this->executed = true;
|
|
}
|
|
}
|