mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-27 05:38:52 +00:00
28 lines
421 B
PHP
28 lines
421 B
PHP
<?php
|
|
/**
|
|
*
|
|
* @package testing
|
|
* @copyright (c) 2010 phpBB Group
|
|
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
|
|
*
|
|
*/
|
|
|
|
class phpbb_ext_testext_cron_dummy_task extends phpbb_cron_task_base
|
|
{
|
|
static public $was_run = 0;
|
|
|
|
public function get_name()
|
|
{
|
|
return get_class($this);
|
|
}
|
|
|
|
public function run()
|
|
{
|
|
self::$was_run++;
|
|
}
|
|
|
|
public function should_run()
|
|
{
|
|
return true;
|
|
}
|
|
}
|