Remove nested steps
This commit is contained in:
parent
4762aa0897
commit
2f011c3266
@ -493,8 +493,7 @@ LayergroupController.prototype.getAffectedTables = function(user, dbName, layerg
|
||||
}
|
||||
|
||||
var self = this;
|
||||
step(
|
||||
function extractSQL() {
|
||||
|
||||
step(
|
||||
function loadFromStore() {
|
||||
self.mapStore.load(layergroupId, this);
|
||||
@ -514,9 +513,6 @@ LayergroupController.prototype.getAffectedTables = function(user, dbName, layerg
|
||||
|
||||
return queries.length ? queries.join(';') : null;
|
||||
},
|
||||
this
|
||||
);
|
||||
},
|
||||
function findAffectedTables(err, sql) {
|
||||
assert.ifError(err);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user