mirror of
https://github.com/friendica/friendica
synced 2025-04-26 07:50:15 +00:00
Remove unused App->force_max_items property
This commit is contained in:
parent
0c24532b42
commit
9537a6d0f7
4 changed files with 0 additions and 14 deletions
|
@ -180,12 +180,6 @@ class Status extends BaseProfile
|
|||
DI::config()->get('system', 'itemspage_network'));
|
||||
}
|
||||
|
||||
// now that we have the user settings, see if the theme forces
|
||||
// a maximum item number which is lower then the user choice
|
||||
if (($a->force_max_items > 0) && ($a->force_max_items < $itemspage_network)) {
|
||||
$itemspage_network = $a->force_max_items;
|
||||
}
|
||||
|
||||
$pager = new Pager(DI::l10n(), $args->getQueryString(), $itemspage_network);
|
||||
|
||||
$pager_sql = sprintf(" LIMIT %d, %d ", $pager->getStart(), $pager->getItemsPerPage());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue