v1.18.x
Barış Soner Uşaklı 7 years ago
parent 2edd908aee
commit 25ebd306cc

@ -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',

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

Loading…
Cancel
Save