aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/cron/task/base.php
diff options
context:
space:
mode:
authorUnknown Bliss <m@michaelcullum.com>2012-09-01 21:15:39 +0100
committerUnknown Bliss <m@michaelcullum.com>2012-09-01 21:15:39 +0100
commit79da1ea59291ae91acf570fe5b705d80f1d29253 (patch)
tree0e69c121b02d38d2be4959e22d5aa67210af5a36 /phpBB/includes/cron/task/base.php
parent0c35ee2769d3945f25275d5ee7a130b7596d289f (diff)
parent43190ebecaeadbc8738da9dcb33b9163652fb9f3 (diff)
downloadforums-79da1ea59291ae91acf570fe5b705d80f1d29253.tar
forums-79da1ea59291ae91acf570fe5b705d80f1d29253.tar.gz
forums-79da1ea59291ae91acf570fe5b705d80f1d29253.tar.bz2
forums-79da1ea59291ae91acf570fe5b705d80f1d29253.tar.xz
forums-79da1ea59291ae91acf570fe5b705d80f1d29253.zip
Merge branch 'develop' of https://github.com/phpbb/phpbb3 into ticket/10631
Conflicts: phpBB/common.php phpBB/download/file.php
Diffstat (limited to 'phpBB/includes/cron/task/base.php')
-rw-r--r--phpBB/includes/cron/task/base.php22
1 files changed, 22 insertions, 0 deletions
diff --git a/phpBB/includes/cron/task/base.php b/phpBB/includes/cron/task/base.php
index c05fb9a87c..94a2f267b4 100644
--- a/phpBB/includes/cron/task/base.php
+++ b/phpBB/includes/cron/task/base.php
@@ -28,6 +28,28 @@ if (!defined('IN_PHPBB'))
*/
abstract class phpbb_cron_task_base implements phpbb_cron_task
{
+ private $name;
+
+ /**
+ * Returns the name of the task.
+ *
+ * @return string Name of wrapped task.
+ */
+ public function get_name()
+ {
+ return $this->name;
+ }
+
+ /**
+ * Sets the name of the task.
+ *
+ * @param string $name The task name
+ */
+ public function set_name($name)
+ {
+ $this->name = $name;
+ }
+
/**
* Returns whether this cron task can run, given current board configuration.
*