Merge gIsConfigured into config state
This commit is contained in:
committed by
Johannes Zellner
parent
8f4ed47b63
commit
270a1f4b95
@@ -59,7 +59,7 @@ var gMailQueue = [ ],
|
||||
function initialize(callback) {
|
||||
assert.strictEqual(typeof callback, 'function');
|
||||
|
||||
if (cloudron.isConfiguredSync()) {
|
||||
if (cloudron.getConfigStateSync().configured) {
|
||||
checkDns();
|
||||
} else {
|
||||
cloudron.events.on(cloudron.EVENT_CONFIGURED, checkDns);
|
||||
|
||||
Reference in New Issue
Block a user