sticking to style guide for method names (camelcase)

This commit is contained in:
Julian Lam
2013-07-28 02:24:41 -04:00
parent 25a1d25108
commit 34bb9dddb5
3 changed files with 22 additions and 13 deletions

View File

@@ -280,7 +280,7 @@ var RDB = require('./redis.js'),
RDB.incr('global:next_post_id', function(err, pid) {
RDB.handle(err);
plugins.fire_hook('filter:save_post_content', content, function(content) {
plugins.fireHook('filter:save_post_content', content, function(content) {
var timestamp = Date.now(),
postData = {
'pid': pid,
@@ -341,7 +341,9 @@ var RDB = require('./redis.js'),
}
}
});
}
}
plugins.fireHook('action:save_post_content', [content])
if(!images) {
postData.uploadedImages = JSON.stringify(uploadedImages);