aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/relationships.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/relationships.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/relationships.php')
-rw-r--r--engine/lib/relationships.php2
1 files changed, 1 insertions, 1 deletions
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)) {