]> gitweb.fluxo.info Git - lorea/elgg.git/commitdiff
set_view_location => elgg_set_view_location (to match elgg_get_view_location)
authorewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>
Sat, 12 Feb 2011 01:15:18 +0000 (01:15 +0000)
committerewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>
Sat, 12 Feb 2011 01:15:18 +0000 (01:15 +0000)
git-svn-id: http://code.elgg.org/elgg/trunk@8130 36083f99-b078-4883-b0ff-0f9b5a30f544

engine/lib/deprecated-1.8.php
engine/lib/views.php

index 17e121ab4d9a381fb75dadbc333f9bb303cd49b7..6fe2d353164ef27b88eea8a67b9dafb0f152661d 100644 (file)
@@ -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
index 21179507edb8badb69d7e60deadaebf9ed5f1a54..80ac4e82728b9e7533a692fcd044ca20e017591f 100644 (file)
@@ -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)) {