fix: push back some deprecations, remove deprecated stuff scheduled for v1.18.0

This commit is contained in:
Julian Lam
2021-09-03 12:04:16 -04:00
parent 1f91a31327
commit dd4e66e22c
5 changed files with 4 additions and 38 deletions

View File

@@ -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);