mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-22 16:36:15 -04:00
Pad: New padCheck
hook
This commit is contained in:
parent
a2460a9848
commit
f9610452cf
3 changed files with 15 additions and 0 deletions
|
@ -738,4 +738,6 @@ Pad.prototype.check = async function () {
|
|||
err.message = pfx + err.message;
|
||||
throw err;
|
||||
}
|
||||
|
||||
await hooks.aCallAll('padCheck', {pad: this});
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue