diff options
Diffstat (limited to 'phpBB/includes/cron/task/task.php')
-rw-r--r-- | phpBB/includes/cron/task/task.php | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/phpBB/includes/cron/task/task.php b/phpBB/includes/cron/task/task.php index 2f2a9e51f9..2d585df96d 100644 --- a/phpBB/includes/cron/task/task.php +++ b/phpBB/includes/cron/task/task.php @@ -22,9 +22,16 @@ 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 + * @return null */ public function run(); |