From e5ea96a228d48e13a2744973149078cd5b06b48c Mon Sep 17 00:00:00 2001 From: Andrew Short Date: Mon, 23 Sep 2013 15:55:59 +1000 Subject: [PATCH] Replace usae of deprecated task type. --- code/ContentReviewEmails.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/code/ContentReviewEmails.php b/code/ContentReviewEmails.php index 71792d2..082bb6d 100644 --- a/code/ContentReviewEmails.php +++ b/code/ContentReviewEmails.php @@ -6,9 +6,9 @@ * * @package contentreview */ -class ContentReviewEmails extends DailyTask { - function run($req) { $this->process(); } - function process() { +class ContentReviewEmails extends BuildTask { + + public function run($request) { // Disable subsite filter (if installed) if (ClassInfo::exists('Subsite')) { $oldSubsiteState = Subsite::$disable_subsite_filter;