mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-01-20 06:29:53 +01:00
Merge pull request #903 from marcelklehr/feature/hook-loadSettings2
[API hook] loadSettings
This commit is contained in:
commit
14c874b80e
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