aboutsummaryrefslogtreecommitdiffstats
path: root/tests/cron/task2/testmod/simple_not_runnable.php
diff options
context:
space:
mode:
authorOleg Pudeyev <oleg@bsdpower.com>2011-01-20 08:52:09 -0500
committerOleg Pudeyev <oleg@bsdpower.com>2011-02-12 22:05:54 -0500
commit1fd8d6de7f6bb41505530c83e487a9dc18bd25af (patch)
treed1e5a226ca875e940d1d98c710051d1911d8b2ad /tests/cron/task2/testmod/simple_not_runnable.php
parent4e689c522f8cdb60984eb47020bee3c0535210bb (diff)
downloadforums-1fd8d6de7f6bb41505530c83e487a9dc18bd25af.tar
forums-1fd8d6de7f6bb41505530c83e487a9dc18bd25af.tar.gz
forums-1fd8d6de7f6bb41505530c83e487a9dc18bd25af.tar.bz2
forums-1fd8d6de7f6bb41505530c83e487a9dc18bd25af.tar.xz
forums-1fd8d6de7f6bb41505530c83e487a9dc18bd25af.zip
[feature/system-cron] More tests for cron manager.
PHPBB3-9596
Diffstat (limited to 'tests/cron/task2/testmod/simple_not_runnable.php')
-rw-r--r--tests/cron/task2/testmod/simple_not_runnable.php13
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/cron/task2/testmod/simple_not_runnable.php b/tests/cron/task2/testmod/simple_not_runnable.php
new file mode 100644
index 0000000000..54869fa1cc
--- /dev/null
+++ b/tests/cron/task2/testmod/simple_not_runnable.php
@@ -0,0 +1,13 @@
+<?php
+
+class phpbb_cron_task_testmod_simple_not_runnable extends phpbb_cron_task_base
+{
+ public function run()
+ {
+ }
+
+ public function is_runnable()
+ {
+ return false;
+ }
+}