mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-08 23:15:48 +01:00
fix: push back some deprecations, remove deprecated stuff scheduled for v1.18.0
This commit is contained in:
@@ -324,7 +324,7 @@ Emailer.sendToEmail = async (template, email, language, params) => {
|
||||
!Plugins.hooks.hasListeners('static:email.send');
|
||||
try {
|
||||
if (Plugins.hooks.hasListeners('filter:email.send')) {
|
||||
// Deprecated, remove in v1.18.0
|
||||
// Deprecated, remove in v1.19.0
|
||||
await Plugins.hooks.fire('filter:email.send', data);
|
||||
} else if (Plugins.hooks.hasListeners('static:email.send')) {
|
||||
await Plugins.hooks.fire('static:email.send', data);
|
||||
|
||||
Reference in New Issue
Block a user