From 82310f7f5c747879bcd1ac8d9fe4fc4c97711c6b Mon Sep 17 00:00:00 2001 From: ben Date: Fri, 10 Apr 2009 13:59:55 +0000 Subject: Removing viewtype autoforward, because it broke installs. git-svn-id: https://code.elgg.org/elgg/trunk@3204 36083f99-b078-4883-b0ff-0f9b5a30f544 --- engine/lib/elgglib.php | 7 ------- 1 file changed, 7 deletions(-) (limited to 'engine/lib') 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; -- cgit v1.2.3