mirror of
https://github.com/friendica/friendica
synced 2025-04-23 21:50:10 +00:00
Remove pager parameter from conversation()
- Add getUrlParameter() Javascript function to determine current page
This commit is contained in:
parent
756de11cda
commit
0b0309ce8f
11 changed files with 42 additions and 22 deletions
|
@ -95,8 +95,6 @@ class Profile extends BaseModule
|
|||
return '';
|
||||
}
|
||||
|
||||
$pager = new Pager(DI::args()->getQueryString());
|
||||
|
||||
// Set a time stamp for this page. We will make use of it when we
|
||||
// search for new items (update routine)
|
||||
$last_updated_array[$last_updated_key] = time();
|
||||
|
@ -116,7 +114,7 @@ class Profile extends BaseModule
|
|||
|
||||
$items = DBA::toArray($items_stmt);
|
||||
|
||||
$o .= conversation($a, $items, $pager, 'profile', $profile_uid, false, 'received', $a->profile['uid']);
|
||||
$o .= conversation($a, $items, 'profile', $profile_uid, false, 'received', $a->profile['uid']);
|
||||
|
||||
header("Content-type: text/html");
|
||||
echo "<!DOCTYPE html><html><body>\r\n";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue