merge userdb.js into users.js
This commit is contained in:
@@ -215,7 +215,7 @@ function backupFailed(mailTo, errorMessage, logUrl, callback) {
|
||||
assert.strictEqual(typeof mailTo, 'string');
|
||||
assert.strictEqual(typeof errorMessage, 'string');
|
||||
assert.strictEqual(typeof logUrl, 'string');
|
||||
assert.strictEqual(typeof callback, 'function');
|
||||
assert(typeof callback === 'undefined' || typeof callback ==='function');
|
||||
|
||||
getMailConfig(function (error, mailConfig) {
|
||||
if (error) return debug('Error getting mail details:', error);
|
||||
@@ -235,7 +235,7 @@ function certificateRenewalError(mailTo, domain, message, callback) {
|
||||
assert.strictEqual(typeof mailTo, 'string');
|
||||
assert.strictEqual(typeof domain, 'string');
|
||||
assert.strictEqual(typeof message, 'string');
|
||||
assert.strictEqual(typeof callback, 'function');
|
||||
assert(typeof callback === 'undefined' || typeof callback ==='function');
|
||||
|
||||
getMailConfig(function (error, mailConfig) {
|
||||
if (error) return debug('Error getting mail details:', error);
|
||||
|
||||
Reference in New Issue
Block a user