mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-24 17:36:14 -04:00
plugins: Don't create .ep_initialized
files
These files cause problems with Docker images and read-only directories/mounts, and they have dubious value (any install-time setup should instead be done at startup).
This commit is contained in:
parent
263105d185
commit
085bc8cbb3
5 changed files with 8 additions and 21 deletions
|
@ -50,12 +50,13 @@ Things in context:
|
|||
|
||||
If this hook returns an error, the callback to the install function gets an error, too. This seems useful for adding in features when a particular plugin is installed.
|
||||
|
||||
## init_`<plugin name>`
|
||||
Called from: src/static/js/pluginfw/plugins.js
|
||||
## `init_<plugin name>`
|
||||
|
||||
Things in context: None
|
||||
Called from: `src/static/js/pluginfw/plugins.js`
|
||||
|
||||
This function is called after a specific plugin is initialized. This would probably be more useful than the previous two functions if you only wanted to add in features to one specific plugin.
|
||||
Run during startup after the named plugin is initialized.
|
||||
|
||||
Context properties: None
|
||||
|
||||
## expressConfigure
|
||||
Called from: src/node/hooks/express.js
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue