aboutsummaryrefslogtreecommitdiff
path: root/mod/ecml/start.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/ecml/start.php')
-rw-r--r--mod/ecml/start.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/ecml/start.php b/mod/ecml/start.php
index 0d60dd1a5..4000ff98a 100644
--- a/mod/ecml/start.php
+++ b/mod/ecml/start.php
@@ -37,7 +37,7 @@ function ecml_init() {
elgg_extend_view('css', 'ecml/admin/css');
// admin action to save permissions
- register_action('settings/ecml/save', FALSE, dirname(__FILE__) . '/actions/save_permissions.php', TRUE);
+ elgg_register_action('settings/ecml/save', dirname(__FILE__) . '/actions/save_permissions.php', 'admin');
// show ECML-enabled icon on free-text input areas
//elgg_extend_view('input/longtext', 'ecml/input_ext', 0);