diff options
author | ewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-11-24 00:50:54 +0000 |
---|---|---|
committer | ewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-11-24 00:50:54 +0000 |
commit | 9c1e6d6463937bdee2d1de9735463a69f8af305d (patch) | |
tree | 8ae66e2c9533ebf21fcf6c1b96be58b140681b7b /mod/profile/start.php | |
parent | 9f8dfe11118813e0f4c2808abb012171db61ec52 (diff) | |
download | elgg-9c1e6d6463937bdee2d1de9735463a69f8af305d.tar.gz elgg-9c1e6d6463937bdee2d1de9735463a69f8af305d.tar.bz2 |
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
Diffstat (limited to 'mod/profile/start.php')
-rw-r--r-- | mod/profile/start.php | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/mod/profile/start.php b/mod/profile/start.php index c8a83077c..623d411ef 100644 --- a/mod/profile/start.php +++ b/mod/profile/start.php @@ -284,13 +284,13 @@ elgg_register_event_handler('profileupdate','all','object_notifications'); // Register actions global $CONFIG; -register_action("profile/edit",false,$CONFIG->pluginspath . "profile/actions/edit.php"); -register_action("profile/iconupload",false,$CONFIG->pluginspath . "profile/actions/iconupload.php"); -register_action("profile/cropicon",false,$CONFIG->pluginspath . "profile/actions/cropicon.php"); -register_action("profile/editdefault",false,$CONFIG->pluginspath . "profile/actions/editdefault.php", true); -register_action("profile/editdefault/delete",false,$CONFIG->pluginspath . "profile/actions/deletedefaultprofileitem.php", true); -register_action("profile/editdefault/reset",false,$CONFIG->pluginspath . "profile/actions/resetdefaultprofile.php", true); -register_action("profile/editdefault/reorder",false,$CONFIG->pluginspath . "profile/actions/reorder.php", true); -register_action("profile/editdefault/editfield",false,$CONFIG->pluginspath . "profile/actions/editfield.php", true); -register_action("profile/addcomment",false,$CONFIG->pluginspath . "profile/actions/addcomment.php"); -register_action("profile/deletecomment",false,$CONFIG->pluginspath . "profile/actions/deletecomment.php"); +elgg_register_action("profile/edit", $CONFIG->pluginspath . "profile/actions/edit.php"); +elgg_register_action("profile/iconupload", $CONFIG->pluginspath . "profile/actions/iconupload.php"); +elgg_register_action("profile/cropicon", $CONFIG->pluginspath . "profile/actions/cropicon.php"); +elgg_register_action("profile/editdefault", $CONFIG->pluginspath . "profile/actions/editdefault.php", 'admin'); +elgg_register_action("profile/editdefault/delete", $CONFIG->pluginspath . "profile/actions/deletedefaultprofileitem.php", 'admin'); +elgg_register_action("profile/editdefault/reset", $CONFIG->pluginspath . "profile/actions/resetdefaultprofile.php", 'admin'); +elgg_register_action("profile/editdefault/reorder", $CONFIG->pluginspath . "profile/actions/reorder.php", 'admin'); +elgg_register_action("profile/editdefault/editfield", $CONFIG->pluginspath . "profile/actions/editfield.php", 'admin'); +elgg_register_action("profile/addcomment", $CONFIG->pluginspath . "profile/actions/addcomment.php"); +elgg_register_action("profile/deletecomment", $CONFIG->pluginspath . "profile/actions/deletecomment.php"); |