Let task complete rather than die when content review is disabled
This commit is contained in:
parent
3e5da529b3
commit
8f8c52ed6e
|
@ -31,7 +31,7 @@ class ContentReviewEmails extends BuildTask
|
||||||
// If the $send_emails static has been set to false, don't run the task
|
// If the $send_emails static has been set to false, don't run the task
|
||||||
if (!$this->config()->get('send_emails')) {
|
if (!$this->config()->get('send_emails')) {
|
||||||
echo 'The Content review task has been disabled';
|
echo 'The Content review task has been disabled';
|
||||||
exit;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
$compatibility = ContentReviewCompatability::start();
|
$compatibility = ContentReviewCompatability::start();
|
||||||
|
|
Loading…
Reference in New Issue