diff options
| author | Nils Adermann <naderman@naderman.de> | 2011-08-21 02:57:01 -0400 |
|---|---|---|
| committer | Nils Adermann <naderman@naderman.de> | 2011-09-29 15:42:46 +0200 |
| commit | 5d5030a48be3d65df85d78e26690085c0889c6e3 (patch) | |
| tree | a4b0f3dd7f551a5e37503698ee2ac0e52c177300 /tests/cron/tasks/simple_should_not_run.php | |
| parent | 96209e022477d97b581b79cabace4caddd19501b (diff) | |
| download | forums-5d5030a48be3d65df85d78e26690085c0889c6e3.tar forums-5d5030a48be3d65df85d78e26690085c0889c6e3.tar.gz forums-5d5030a48be3d65df85d78e26690085c0889c6e3.tar.bz2 forums-5d5030a48be3d65df85d78e26690085c0889c6e3.tar.xz forums-5d5030a48be3d65df85d78e26690085c0889c6e3.zip | |
[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
Diffstat (limited to 'tests/cron/tasks/simple_should_not_run.php')
| -rw-r--r-- | tests/cron/tasks/simple_should_not_run.php | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/cron/tasks/simple_should_not_run.php b/tests/cron/tasks/simple_should_not_run.php new file mode 100644 index 0000000000..c2a41616f6 --- /dev/null +++ b/tests/cron/tasks/simple_should_not_run.php @@ -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; + } +} |
