Merge gIsConfigured into config state

This commit is contained in:
Girish Ramakrishnan
2017-01-05 19:06:10 -08:00
committed by Johannes Zellner
parent 8f4ed47b63
commit 270a1f4b95
3 changed files with 4 additions and 13 deletions

View File

@@ -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);