Revert "Another check for redis services configs"
This reverts commit d6c3c8a294.
This commit is contained in:
@@ -1903,7 +1903,7 @@ function clearRedis(app, options, callback) {
|
||||
assert.strictEqual(typeof options, 'object');
|
||||
assert.strictEqual(typeof callback, 'function');
|
||||
|
||||
if (app.servicesConfig['redis'] && app.servicesConfig['redis'].disabled) return callback(null);
|
||||
if (app.servicesConfig['redis'].disabled) return callback(null);
|
||||
|
||||
debugApp(app, 'Clearing redis');
|
||||
|
||||
@@ -1959,7 +1959,7 @@ function restoreRedis(app, options, callback) {
|
||||
assert.strictEqual(typeof options, 'object');
|
||||
assert.strictEqual(typeof callback, 'function');
|
||||
|
||||
if (app.servicesConfig['redis'] && app.servicesConfig['redis'].disabled) return callback(null);
|
||||
if (app.servicesConfig['redis'].disabled) return callback(null);
|
||||
|
||||
debugApp(app, 'Restoring redis');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user