aboutsummaryrefslogtreecommitdiff
path: root/mod/blog/start.php
diff options
context:
space:
mode:
authorCash Costello <cash.costello@gmail.com>2013-03-05 06:59:38 -0500
committerCash Costello <cash.costello@gmail.com>2013-03-05 06:59:38 -0500
commitf35cd7f855b60b1c572cd0aee2273a313c85ad53 (patch)
treee657307bf767d6ace1567498535163d20cc8f6e5 /mod/blog/start.php
parentf350d90e384a03629f95b1b5be9b7ad603438f46 (diff)
downloadelgg-f35cd7f855b60b1c572cd0aee2273a313c85ad53.tar.gz
elgg-f35cd7f855b60b1c572cd0aee2273a313c85ad53.tar.bz2
made the event more general for future support of objects with draft/publish status
Diffstat (limited to 'mod/blog/start.php')
-rw-r--r--mod/blog/start.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/blog/start.php b/mod/blog/start.php
index 4bd19b40f..25cd81935 100644
--- a/mod/blog/start.php
+++ b/mod/blog/start.php
@@ -42,7 +42,7 @@ function blog_init() {
elgg_register_entity_url_handler('object', 'blog', 'blog_url_handler');
// notifications - need to register for unique event because of draft/published status
- elgg_register_event_handler('publish', 'blog', 'object_notifications');
+ elgg_register_event_handler('publish', 'object', 'object_notifications');
elgg_register_plugin_hook_handler('notify:entity:message', 'object', 'blog_notify_message');
// add blog link to