mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-01 19:46:01 +01:00
sending pid as well as content in action:save_post_content hook
This commit is contained in:
@@ -343,7 +343,7 @@ var RDB = require('./redis.js'),
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
plugins.fireHook('action:save_post_content', [content])
|
plugins.fireHook('action:save_post_content', [pid, content]);
|
||||||
|
|
||||||
if(!images) {
|
if(!images) {
|
||||||
postData.uploadedImages = JSON.stringify(uploadedImages);
|
postData.uploadedImages = JSON.stringify(uploadedImages);
|
||||||
|
|||||||
Reference in New Issue
Block a user