aboutsummaryrefslogtreecommitdiffstats
path: root/tests/cron/ext/testext
diff options
context:
space:
mode:
Diffstat (limited to 'tests/cron/ext/testext')
-rw-r--r--tests/cron/ext/testext/cron/dummy_task.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/cron/ext/testext/cron/dummy_task.php b/tests/cron/ext/testext/cron/dummy_task.php
index 996f5b39cf..a31806c1b1 100644
--- a/tests/cron/ext/testext/cron/dummy_task.php
+++ b/tests/cron/ext/testext/cron/dummy_task.php
@@ -11,6 +11,11 @@ class phpbb_ext_testext_cron_dummy_task extends phpbb_cron_task_base
{
public static $was_run = 0;
+ public function get_name()
+ {
+ return get_class($this);
+ }
+
public function run()
{
self::$was_run++;