aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/cron/task/task.php
diff options
context:
space:
mode:
authorIgor Wiedler <igor@wiedler.ch>2012-04-09 14:34:35 +0200
committerIgor Wiedler <igor@wiedler.ch>2012-04-09 14:34:35 +0200
commit3896ee953fbdb45d0485c0b5dcdfca47409a22ed (patch)
tree86cee60150ff75d33332a60140230a4aaa780c97 /phpBB/includes/cron/task/task.php
parentaa0c995ed9cdafa2dfaca23b54d5b4cf6323f794 (diff)
downloadforums-3896ee953fbdb45d0485c0b5dcdfca47409a22ed.tar
forums-3896ee953fbdb45d0485c0b5dcdfca47409a22ed.tar.gz
forums-3896ee953fbdb45d0485c0b5dcdfca47409a22ed.tar.bz2
forums-3896ee953fbdb45d0485c0b5dcdfca47409a22ed.tar.xz
forums-3896ee953fbdb45d0485c0b5dcdfca47409a22ed.zip
[feature/dic] Give all cron tasks a name, change some manager usage
PHPBB3-10739
Diffstat (limited to 'phpBB/includes/cron/task/task.php')
-rw-r--r--phpBB/includes/cron/task/task.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/phpBB/includes/cron/task/task.php b/phpBB/includes/cron/task/task.php
index 2f2a9e51f9..7b08fed413 100644
--- a/phpBB/includes/cron/task/task.php
+++ b/phpBB/includes/cron/task/task.php
@@ -22,6 +22,13 @@ if (!defined('IN_PHPBB'))
interface phpbb_cron_task
{
/**
+ * Returns the name of the task.
+ *
+ * @return string Name of wrapped task.
+ */
+ public function get_name();
+
+ /**
* Runs this cron task.
*
* @return void