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;