Just callback as result is handled internally

This commit is contained in:
Raul Ochoa
2016-03-03 19:25:32 +01:00
parent d9f6df9815
commit baf87e90d7
+1 -7
View File
@@ -383,12 +383,6 @@ LayergroupController.prototype.getAffectedTables = function(user, dbName, layerg
return tables;
},
function finish(err, tables) {
if(tables === undefined){
callback(err);
}else{
callback(err, tables);
}
}
callback
);
};