aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/elgglib.php
diff options
context:
space:
mode:
Diffstat (limited to 'engine/lib/elgglib.php')
-rw-r--r--engine/lib/elgglib.php4
1 files changed, 1 insertions, 3 deletions
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) {