mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-20 15:36:16 -04:00
working logic
This commit is contained in:
parent
69c1d04dd2
commit
98016665e4
2 changed files with 47 additions and 11 deletions
|
@ -74,16 +74,6 @@ async.waterfall([
|
|||
// Call loadSettings hook
|
||||
hooks.aCallAll("loadSettings", { settings: settings });
|
||||
|
||||
// Call applySettings hook
|
||||
hooks.aCallAll("applySettings", settings, function(err, newSettings){
|
||||
if(!newSettings) return;
|
||||
newSettings.forEach(function (settingsBlob){
|
||||
for (var setting in settingsBlob){
|
||||
settings[setting] = settingsBlob[setting];
|
||||
};
|
||||
});
|
||||
});
|
||||
callback();
|
||||
},
|
||||
|
||||
//initalize the http server
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue