aboutsummaryrefslogtreecommitdiff
path: root/mod/file
diff options
context:
space:
mode:
authorcash <cash.costello@gmail.com>2013-05-30 21:22:32 -0400
committercash <cash.costello@gmail.com>2013-05-30 21:22:32 -0400
commit0cc014239e2f8ee15054e25c68787494459db2bc (patch)
tree5839a721c706ed99f0e938d272c491e621206110 /mod/file
parentbbf99434e13ebf304fb15a8c5b9d70c621f38c86 (diff)
downloadelgg-0cc014239e2f8ee15054e25c68787494459db2bc.tar.gz
elgg-0cc014239e2f8ee15054e25c68787494459db2bc.tar.bz2
not forcing the limit to be a certain value in content plugins
Diffstat (limited to 'mod/file')
-rw-r--r--mod/file/pages/file/owner.php1
-rw-r--r--mod/file/pages/file/world.php3
2 files changed, 0 insertions, 4 deletions
diff --git a/mod/file/pages/file/owner.php b/mod/file/pages/file/owner.php
index d7f057f2a..5ad6866d6 100644
--- a/mod/file/pages/file/owner.php
+++ b/mod/file/pages/file/owner.php
@@ -39,7 +39,6 @@ $content = elgg_list_entities(array(
'type' => 'object',
'subtype' => 'file',
'container_guid' => $owner->guid,
- 'limit' => 10,
'full_view' => FALSE,
));
if (!$content) {
diff --git a/mod/file/pages/file/world.php b/mod/file/pages/file/world.php
index 8e6c87f26..96c8de785 100644
--- a/mod/file/pages/file/world.php
+++ b/mod/file/pages/file/world.php
@@ -9,14 +9,11 @@ elgg_push_breadcrumb(elgg_echo('file'));
elgg_register_title_button();
-$limit = get_input("limit", 10);
-
$title = elgg_echo('file:all');
$content = elgg_list_entities(array(
'type' => 'object',
'subtype' => 'file',
- 'limit' => $limit,
'full_view' => FALSE
));
if (!$content) {