Disable send mail batch completely

This commit is contained in:
Jaap Marcus committed 2023-02-05 02:38:07 +01:00
1 parent 736b41d0dd
commit 9d77a8632f
1 file changed
+5
+5
View File
@@ -389,6 +389,11 @@ class Admin extends \Api_Abstract
public function batch_sendmail()
{
$di = $this->getDi();
$extensionService = $di['mod_service']('extension');
if ($extensionService->isExtensionActive('mod', 'demo')) {
return false;
}
return $this->getService()->batchSend();
}