aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/annotations.php
diff options
context:
space:
mode:
authorewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-15 20:42:58 +0000
committerewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-15 20:42:58 +0000
commit5cc5b3f17f8c4bab7998dbaccc89f914accddf39 (patch)
treeed4ef9f479eb51e16dcda15e9f8ce14aabc8262d /engine/lib/annotations.php
parent9c7b7c54635377def3bd48cfe8491dfb0e3b9b8a (diff)
downloadelgg-5cc5b3f17f8c4bab7998dbaccc89f914accddf39.tar.gz
elgg-5cc5b3f17f8c4bab7998dbaccc89f914accddf39.tar.bz2
Fixes #2860: Deprecated several registration functions that were using the 'callback-first' ordering
git-svn-id: http://code.elgg.org/elgg/trunk@8257 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/lib/annotations.php')
-rw-r--r--engine/lib/annotations.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/engine/lib/annotations.php b/engine/lib/annotations.php
index d2f2c6386..130ab37ab 100644
--- a/engine/lib/annotations.php
+++ b/engine/lib/annotations.php
@@ -530,8 +530,8 @@ function elgg_annotation_exists($entity_guid, $annotation_type, $owner_guid = NU
*
* @return string
*/
-function register_annotation_url_handler($function_name, $extender_name = "all") {
- return register_extender_url_handler($function_name, 'annotation', $extender_name);
+function elgg_register_annotation_url_handler($extender_name = "all", $function_name) {
+ return elgg_register_extender_url_handler('annotation', $extender_name, $function_name);
}
/** Register the hook */