Skip to content

Node.js based forum software built for the modern web

closes #6548

Barış Soner Uşaklı25ebd306cc0c
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) {