aboutsummaryrefslogtreecommitdiff
path: root/mod/blog
diff options
context:
space:
mode:
Diffstat (limited to 'mod/blog')
-rw-r--r--mod/blog/start.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/mod/blog/start.php b/mod/blog/start.php
index 365a21cfa..091099e2f 100644
--- a/mod/blog/start.php
+++ b/mod/blog/start.php
@@ -49,9 +49,9 @@ function blog_init() {
$action_path = dirname(__FILE__) . '/actions/blog';
- register_action('blog/save', FALSE, "$action_path/save.php");
- register_action('blog/auto_save_revision', FALSE, "$action_path/auto_save_revision.php");
- register_action('blog/delete', FALSE, "$action_path/delete.php");
+ elgg_register_action('blog/save', "$action_path/save.php");
+ elgg_register_action('blog/auto_save_revision', "$action_path/auto_save_revision.php");
+ elgg_register_action('blog/delete', "$action_path/delete.php");
// ecml
elgg_register_plugin_hook_handler('get_views', 'ecml', 'blog_ecml_views_hook');