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/relationships.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engine/lib/relationships.php') diff --git a/engine/lib/relationships.php b/engine/lib/relationships.php index 4a1e4ad0f..5224efaf1 100644 --- a/engine/lib/relationships.php +++ b/engine/lib/relationships.php @@ -397,7 +397,7 @@ function elgg_list_entities_from_relationship_count($options) { * * @return bool Depending on success */ -function register_relationship_url_handler($function_name, $relationship_type = "all") { +function elgg_register_relationship_url_handler($relationship_type, $function_name) { global $CONFIG; if (!is_callable($function_name)) { -- cgit v1.2.3