aboutsummaryrefslogtreecommitdiff
path: root/engine
diff options
context:
space:
mode:
authorewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-12 01:15:18 +0000
committerewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-12 01:15:18 +0000
commitacec93ab6fc36138b7fb306a35079d9b3e2a48cd (patch)
tree06bd5bbae635aa46f4e882bc29cd838245e818f4 /engine
parent7373a543cdab3a54d58b948e911598d30db11ffb (diff)
downloadelgg-acec93ab6fc36138b7fb306a35079d9b3e2a48cd.tar.gz
elgg-acec93ab6fc36138b7fb306a35079d9b3e2a48cd.tar.bz2
set_view_location => elgg_set_view_location (to match elgg_get_view_location)
git-svn-id: http://code.elgg.org/elgg/trunk@8130 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine')
-rw-r--r--engine/lib/deprecated-1.8.php9
-rw-r--r--engine/lib/views.php2
2 files changed, 10 insertions, 1 deletions
diff --git a/engine/lib/deprecated-1.8.php b/engine/lib/deprecated-1.8.php
index 17e121ab4..6fe2d3531 100644
--- a/engine/lib/deprecated-1.8.php
+++ b/engine/lib/deprecated-1.8.php
@@ -3459,4 +3459,13 @@ $asc = false, $fullview = true, $listtypetoggle = false, $pagination = true, $or
$options['order_by'] = "calculated $orderdir";
return elgg_get_entities_from_annotation_calculation($options);
+}
+
+/**
+ * @deprecated 1.8
+ * @see elgg_set_view_location()
+ */
+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);
} \ No newline at end of file
diff --git a/engine/lib/views.php b/engine/lib/views.php
index 21179507e..80ac4e827 100644
--- a/engine/lib/views.php
+++ b/engine/lib/views.php
@@ -243,7 +243,7 @@ function elgg_get_view_location($view, $viewtype = '') {
*
* @return void
*/
-function set_view_location($view, $location, $viewtype = '') {
+function elgg_set_view_location($view, $location, $viewtype = '') {
global $CONFIG;
if (empty($viewtype)) {