Replace usae of deprecated task type.

This commit is contained in:
Andrew Short 2013-09-23 15:55:59 +10:00
parent 1b3882bcb5
commit e5ea96a228

View File

@ -6,9 +6,9 @@
* *
* @package contentreview * @package contentreview
*/ */
class ContentReviewEmails extends DailyTask { class ContentReviewEmails extends BuildTask {
function run($req) { $this->process(); }
function process() { public function run($request) {
// Disable subsite filter (if installed) // Disable subsite filter (if installed)
if (ClassInfo::exists('Subsite')) { if (ClassInfo::exists('Subsite')) {
$oldSubsiteState = Subsite::$disable_subsite_filter; $oldSubsiteState = Subsite::$disable_subsite_filter;