aboutsummaryrefslogtreecommitdiff
path: root/engine/lib
diff options
context:
space:
mode:
Diffstat (limited to 'engine/lib')
-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)) {