mirror of
https://github.com/silverstripe/silverstripe-contentreview
synced 2024-10-22 17:05:47 +02:00
Replace usae of deprecated task type.
This commit is contained in:
parent
1b3882bcb5
commit
e5ea96a228
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user