1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-11 11:13:59 +02:00

[feature/extension-manager] Porting cron tasks over to the extension finder

PHPBB3-10323
This commit is contained in:
Nils Adermann
2011-07-13 08:22:27 -04:00
parent 14f1e581fa
commit fabde989a2
11 changed files with 100 additions and 145 deletions

View File

@@ -0,0 +1,23 @@
<?php
/**
*
* @package testing
* @copyright (c) 2010 phpBB Group
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
*
*/
class phpbb_ext_testext_cron_dummy_task extends phpbb_cron_task_base
{
public static $was_run = 0;
public function run()
{
self::$was_run++;
}
public function should_run()
{
return true;
}
}