aboutsummaryrefslogtreecommitdiffstats
path: root/tests/cron/tasks/simple_not_runnable.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/cron/tasks/simple_not_runnable.php')
-rw-r--r--tests/cron/tasks/simple_not_runnable.php18
1 files changed, 18 insertions, 0 deletions
diff --git a/tests/cron/tasks/simple_not_runnable.php b/tests/cron/tasks/simple_not_runnable.php
new file mode 100644
index 0000000000..56d484eacd
--- /dev/null
+++ b/tests/cron/tasks/simple_not_runnable.php
@@ -0,0 +1,18 @@
+<?php
+
+class phpbb_cron_task_core_simple_not_runnable extends phpbb_cron_task_base
+{
+ public function get_name()
+ {
+ return get_class($this);
+ }
+
+ public function run()
+ {
+ }
+
+ public function is_runnable()
+ {
+ return false;
+ }
+}