mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-02-01 11:22:41 +01:00
Add loadSettings hook.
This commit is contained in:
parent
c9e8f7e7af
commit
de907cd0db
1 changed files with 4 additions and 0 deletions
|
@ -46,6 +46,10 @@ async.waterfall([
|
||||||
console.info("Installed plugins: " + plugins.formatPlugins());
|
console.info("Installed plugins: " + plugins.formatPlugins());
|
||||||
console.debug("Installed parts:\n" + plugins.formatParts());
|
console.debug("Installed parts:\n" + plugins.formatParts());
|
||||||
console.debug("Installed hooks:\n" + plugins.formatHooks());
|
console.debug("Installed hooks:\n" + plugins.formatHooks());
|
||||||
|
|
||||||
|
// Call loadSettings hook
|
||||||
|
hooks.aCallAll("loadSettings", { settings: settings });
|
||||||
|
|
||||||
callback();
|
callback();
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue