From 25ebd306cc0c9553d0aa1c60779770011728387a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bar=C4=B1=C5=9F=20Soner=20U=C5=9Fakl=C4=B1?= Date: Sun, 3 Jun 2018 14:37:23 -0400 Subject: [PATCH] closes #6548 --- src/plugins/hooks.js | 1 - src/posts/create.js | 3 --- 2 files changed, 4 deletions(-) diff --git a/src/plugins/hooks.js b/src/plugins/hooks.js index 36909cb173..2fd93ef4dd 100644 --- a/src/plugins/hooks.js +++ b/src/plugins/hooks.js @@ -5,7 +5,6 @@ var async = require('async'); module.exports = function (Plugins) { Plugins.deprecatedHooks = { - 'filter:post.save': 'filter:post.create', 'filter:user.profileLinks': 'filter:user.profileMenu', 'action:post.flag': 'action:flag.create', 'action:flag.create': 'action:flags.create', diff --git a/src/posts/create.js b/src/posts/create.js index dc6f1a9224..19bf95c8a0 100644 --- a/src/posts/create.js +++ b/src/posts/create.js @@ -57,9 +57,6 @@ module.exports = function (Posts) { postData.handle = data.handle; } - plugins.fireHook('filter:post.save', postData, next); - }, - function (postData, next) { plugins.fireHook('filter:post.create', { post: postData, data: data }, next); }, function (data, next) {