aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/deprecated-1.8.php
diff options
context:
space:
mode:
authorewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-12 03:53:07 +0000
committerewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-12 03:53:07 +0000
commit66ae062ed9420effec4661b62a5c06f13c1e69ea (patch)
treee5d8f24e363273e7f1b474a374df5f0a07702e8a /engine/lib/deprecated-1.8.php
parent8e4a4cc6f5267d2060cafed7fd2533be29536f80 (diff)
downloadelgg-66ae062ed9420effec4661b62a5c06f13c1e69ea.tar.gz
elgg-66ae062ed9420effec4661b62a5c06f13c1e69ea.tar.bz2
register_entity_url_handler => elgg_register_entity_url_handler (because every other reigstration function asks for the callback last)
git-svn-id: http://code.elgg.org/elgg/trunk@8140 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/lib/deprecated-1.8.php')
-rw-r--r--engine/lib/deprecated-1.8.php9
1 files changed, 9 insertions, 0 deletions
diff --git a/engine/lib/deprecated-1.8.php b/engine/lib/deprecated-1.8.php
index 9906f163e..37f9d7fdd 100644
--- a/engine/lib/deprecated-1.8.php
+++ b/engine/lib/deprecated-1.8.php
@@ -3470,4 +3470,13 @@ $asc = false, $fullview = true, $listtypetoggle = false, $pagination = true, $or
function set_view_location($view, $location, $viewtype = '') {
elgg_deprecated_notice("set_view_location() was deprecated by elgg_set_view_location()", 1.8);
return elgg_set_view_location($view, $location, $viewtype);
+}
+
+/**
+ * @deprecated 1.8
+ * @see elgg_register_entity_url_handler()
+ */
+function register_entity_url_handler($function_name, $entity_type = "all", $entity_subtype = "all") {
+ elgg_deprecated_notice("register_entity_url_handler() was deprecated by elgg_register_entity_url_handler()", 1.8);
+ return elgg_register_entity_url_handler($entity_type, $entity_subtype, $function_name);
} \ No newline at end of file