From 9c1e6d6463937bdee2d1de9735463a69f8af305d Mon Sep 17 00:00:00 2001 From: ewinslow Date: Wed, 24 Nov 2010 00:50:54 +0000 Subject: Fixes #2655: Converted register_action to elgg_register_action throughout core git-svn-id: http://code.elgg.org/elgg/trunk@7432 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/ecml/start.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mod/ecml/start.php') 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); -- cgit v1.2.3