simplify check-in deactivation

This commit is contained in:
ansuz committed 2020-02-28 14:24:53 -05:00
1 parent 92896fb919
commit 2f00ff3278
2 files changed
+4 -1

No files matched your search

+1
View File
@@ -38,6 +38,7 @@ Quota.updateCachedLimits = function (Env, cb) {
if (Env.adminEmail === false) {
Quota.applyCustomLimits(Env);
if (Env.allowSubscriptions === false) { return; }
if (Env.blockDailyCheck === true) { return; }
throw new Error("allowSubscriptions must be false if adminEmail is false");
}