mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-06-27 20:49:12 +02:00
deprecating old hook for #5232
This commit is contained in:
@@ -7,7 +7,8 @@ module.exports = function (Plugins) {
|
||||
Plugins.deprecatedHooks = {
|
||||
'filter:user.custom_fields': null, // remove in v1.1.0
|
||||
'filter:post.save': 'filter:post.create',
|
||||
'filter:user.profileLinks': 'filter:user.profileMenu'
|
||||
'filter:user.profileLinks': 'filter:user.profileMenu',
|
||||
'action:post.flag': 'action:flag.create'
|
||||
};
|
||||
/*
|
||||
`data` is an object consisting of (* is required):
|
||||
|
||||
Reference in New Issue
Block a user