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
*/
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;