mirror of
https://github.com/FOSSBilling/FOSSBilling.git
synced 2026-11-30 20:27:07 +09:00
Disable send mail batch completely
This commit is contained in:
1 file changed
+5
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user