aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/cron/manager.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/phpbb/cron/manager.php')
-rw-r--r--phpBB/phpbb/cron/manager.php10
1 files changed, 10 insertions, 0 deletions
diff --git a/phpBB/phpbb/cron/manager.php b/phpBB/phpbb/cron/manager.php
index 1eb8edf033..f04f063228 100644
--- a/phpBB/phpbb/cron/manager.php
+++ b/phpBB/phpbb/cron/manager.php
@@ -122,6 +122,16 @@ class manager
}
/**
+ * Find all tasks and return them.
+ *
+ * @return array List of all tasks.
+ */
+ public function get_tasks()
+ {
+ return $this->tasks;
+ }
+
+ /**
* Wraps a task inside an instance of \phpbb\cron\task\wrapper.
*
* @param \phpbb\cron\task\task $task The task.