|
|
@ -36,7 +36,10 @@ Quota.applyCustomLimits = function (Env) {
|
|
|
|
|
|
|
|
|
|
|
|
Quota.updateCachedLimits = function (Env, cb) {
|
|
|
|
Quota.updateCachedLimits = function (Env, cb) {
|
|
|
|
Quota.applyCustomLimits(Env);
|
|
|
|
Quota.applyCustomLimits(Env);
|
|
|
|
if (Env.allowSubscriptions === false || Env.blockDailyCheck === true) { return void cb(); }
|
|
|
|
if (Env.blockDailyCheck === true ||
|
|
|
|
|
|
|
|
(typeof(Env.blockDailyCheck) === 'undefined' && Env.adminEmail === false && Env.allowSubscriptions === false)) {
|
|
|
|
|
|
|
|
return void cb();
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
var body = JSON.stringify({
|
|
|
|
var body = JSON.stringify({
|
|
|
|
domain: Env.myDomain,
|
|
|
|
domain: Env.myDomain,
|
|
|
|