From 5cc5b3f17f8c4bab7998dbaccc89f914accddf39 Mon Sep 17 00:00:00 2001 From: ewinslow Date: Tue, 15 Feb 2011 20:42:58 +0000 Subject: 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 --- engine/lib/annotations.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'engine/lib/annotations.php') 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 */ -- cgit v1.2.3