aboutsummaryrefslogtreecommitdiff
path: root/mod/file/search.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/file/search.php')
-rw-r--r--mod/file/search.php5
1 files changed, 0 insertions, 5 deletions
diff --git a/mod/file/search.php b/mod/file/search.php
index ba6808176..6e63f55f0 100644
--- a/mod/file/search.php
+++ b/mod/file/search.php
@@ -76,7 +76,6 @@
if ($listtype == "gallery") {
$limit = 12;
- elgg_push_context('gallery');
}
if (!empty($tag)) {
@@ -93,10 +92,6 @@
$area2 .= elgg_list_entities(array('types' => 'object', 'subtypes' => 'file', 'owner_guid' => $owner_guid, 'limit' => $limit, 'offset' => $offset));
}
- if ($listtype == "gallery") {
- elgg_pop_context();
- }
-
elgg_pop_context();
$content = "<div class='files'>".$area1.$area2."</div>";