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

[feature/extension-manager] Remove cron's dependency on the extension manager.

Instead a separate cron provider supplies the manager with tasks from the
extension finder.

PHPBB3-10323
This commit is contained in:
Nils Adermann
2011-08-21 02:57:01 -04:00
parent 96209e0224
commit 5d5030a48b
9 changed files with 156 additions and 66 deletions

View File

@@ -0,0 +1,13 @@
<?php
class phpbb_cron_task_core_simple_not_runnable extends phpbb_cron_task_base
{
public function run()
{
}
public function is_runnable()
{
return false;
}
}

View File

@@ -0,0 +1,8 @@
<?php
class phpbb_cron_task_core_simple_ready extends phpbb_cron_task_base
{
public function run()
{
}
}

View File

@@ -0,0 +1,13 @@
<?php
class phpbb_cron_task_core_simple_should_not_run extends phpbb_cron_task_base
{
public function run()
{
}
public function should_run()
{
return false;
}
}