diff options
Diffstat (limited to 'tests/console/cron/tasks/simple.php')
| -rw-r--r-- | tests/console/cron/tasks/simple.php | 27 | 
1 files changed, 27 insertions, 0 deletions
| diff --git a/tests/console/cron/tasks/simple.php b/tests/console/cron/tasks/simple.php new file mode 100644 index 0000000000..194c52afe1 --- /dev/null +++ b/tests/console/cron/tasks/simple.php @@ -0,0 +1,27 @@ +<?php +/** +* +* This file is part of the phpBB Forum Software package. +* +* @copyright (c) phpBB Limited <https://www.phpbb.com> +* @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; +	} +} | 
