From acec93ab6fc36138b7fb306a35079d9b3e2a48cd Mon Sep 17 00:00:00 2001 From: ewinslow Date: Sat, 12 Feb 2011 01:15:18 +0000 Subject: 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 --- engine/lib/deprecated-1.8.php | 9 +++++++++ engine/lib/views.php | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) 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)) { -- cgit v1.2.3