aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/elgglib.php
diff options
context:
space:
mode:
authorben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-04-10 13:59:55 +0000
committerben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-04-10 13:59:55 +0000
commit82310f7f5c747879bcd1ac8d9fe4fc4c97711c6b (patch)
tree96a417b079c3d3e157eca29e90560609b2668847 /engine/lib/elgglib.php
parentb80683f2d8467634bc77ce04ee0d0f8b1de02212 (diff)
downloadelgg-82310f7f5c747879bcd1ac8d9fe4fc4c97711c6b.tar.gz
elgg-82310f7f5c747879bcd1ac8d9fe4fc4c97711c6b.tar.bz2
Removing viewtype autoforward, because it broke installs.
git-svn-id: https://code.elgg.org/elgg/trunk@3204 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/lib/elgglib.php')
-rw-r--r--engine/lib/elgglib.php7
1 files changed, 0 insertions, 7 deletions
diff --git a/engine/lib/elgglib.php b/engine/lib/elgglib.php
index cf3bea742..392f6cd8b 100644
--- a/engine/lib/elgglib.php
+++ b/engine/lib/elgglib.php
@@ -37,13 +37,6 @@
$location = $CONFIG->url . $location;
}
- // Preserve current viewtype
- $viewtype = elgg_get_viewtype();
- if (($viewtype) && (strcmp($viewtype, 'default')!=0)) {
- $sep = "?";
- if (strpos($location, '?')>0) $sep = "&";
- $location .= "{$sep}view=$viewtype";
- }
header("Location: {$location}");
exit;