aboutsummaryrefslogtreecommitdiff
path: root/mod/bookmarks/pages
diff options
context:
space:
mode:
authorCash Costello <cash.costello@gmail.com>2012-01-20 21:20:32 -0500
committerCash Costello <cash.costello@gmail.com>2012-01-20 21:20:32 -0500
commit9cca28b590a5884033c60af5a47aa3dcc383f7f0 (patch)
tree3b1a5f4dc1e3ffc4b40d568649c55b448b1c3a34 /mod/bookmarks/pages
parent1b15e9f33013cc5407ff7620989a3bb027348c41 (diff)
downloadelgg-9cca28b590a5884033c60af5a47aa3dcc383f7f0.tar.gz
elgg-9cca28b590a5884033c60af5a47aa3dcc383f7f0.tar.bz2
Refs #4293 removed unnecessary get_input('offset') calls since elgg_list_entities() calls that
Diffstat (limited to 'mod/bookmarks/pages')
-rw-r--r--mod/bookmarks/pages/bookmarks/all.php2
-rw-r--r--mod/bookmarks/pages/bookmarks/owner.php2
2 files changed, 0 insertions, 4 deletions
diff --git a/mod/bookmarks/pages/bookmarks/all.php b/mod/bookmarks/pages/bookmarks/all.php
index f57776752..bdb8fc793 100644
--- a/mod/bookmarks/pages/bookmarks/all.php
+++ b/mod/bookmarks/pages/bookmarks/all.php
@@ -10,12 +10,10 @@ elgg_push_breadcrumb(elgg_echo('bookmarks'));
elgg_register_title_button();
-$offset = (int)get_input('offset', 0);
$content = elgg_list_entities(array(
'type' => 'object',
'subtype' => 'bookmarks',
'limit' => 10,
- 'offset' => $offset,
'full_view' => false,
'view_toggle_type' => false
));
diff --git a/mod/bookmarks/pages/bookmarks/owner.php b/mod/bookmarks/pages/bookmarks/owner.php
index 7f55e08de..a024ff352 100644
--- a/mod/bookmarks/pages/bookmarks/owner.php
+++ b/mod/bookmarks/pages/bookmarks/owner.php
@@ -14,13 +14,11 @@ elgg_push_breadcrumb($page_owner->name);
elgg_register_title_button();
-$offset = (int)get_input('offset', 0);
$content .= elgg_list_entities(array(
'type' => 'object',
'subtype' => 'bookmarks',
'container_guid' => $page_owner->guid,
'limit' => 10,
- 'offset' => $offset,
'full_view' => false,
'view_toggle_type' => false
));