aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-10-06 16:18:53 +0000
committermarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-10-06 16:18:53 +0000
commitbecc619dfb30eae5dfd5b21ded8a3f5324571398 (patch)
tree56df31c241082aa10ecffe041c9249c44194986a
parent86949150acbf6607d4c13eddf69e8a4aace0b7ba (diff)
downloadelgg-becc619dfb30eae5dfd5b21ded8a3f5324571398.tar.gz
elgg-becc619dfb30eae5dfd5b21ded8a3f5324571398.tar.bz2
Removed unnecessary debug
git-svn-id: https://code.elgg.org/elgg/trunk@2193 36083f99-b078-4883-b0ff-0f9b5a30f544
-rw-r--r--engine/lib/elgglib.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/lib/elgglib.php b/engine/lib/elgglib.php
index 14a2e4a25..e7bdbe665 100644
--- a/engine/lib/elgglib.php
+++ b/engine/lib/elgglib.php
@@ -347,7 +347,7 @@
$location = $CONFIG->viewpath;
$viewtype = elgg_get_viewtype();
$root = $location . $viewtype . '/' . $view_root;
- echo $root;
+
if (file_exists($root) && is_dir($root)) {
$val = get_views($root, $view_root);
if (!is_array($treecache[$view_root])) $treecache[$view_root] = array();