From 2d61fca50b21d7536bead7f833c716b8009c60a8 Mon Sep 17 00:00:00 2001 From: ben Date: Tue, 11 Mar 2008 12:22:09 +0000 Subject: The pageshell now correctly passes elements to the header, footer etc. git-svn-id: https://code.elgg.org/elgg/trunk@159 36083f99-b078-4883-b0ff-0f9b5a30f544 --- engine/lib/elgglib.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'engine') diff --git a/engine/lib/elgglib.php b/engine/lib/elgglib.php index e38288ac1..a561172f1 100644 --- a/engine/lib/elgglib.php +++ b/engine/lib/elgglib.php @@ -53,9 +53,8 @@ * @return string The HTML content */ function elgg_view($view, $vars = "", $viewtype = "", $debug = false) { - + global $CONFIG, $strings; - static $usercache; if (!is_array($usercache)) { $usercache = array(); @@ -99,7 +98,6 @@ } else { $viewlist = array(500 => $view); } - ob_start(); foreach($viewlist as $priority => $view) { -- cgit v1.2.3