]> git.mxchange.org Git - friendica.git/commitdiff
lower number of postings displayed per page for not logged in users
authorTobias Diekershoff <tobias.diekershoff@gmx.net>
Wed, 28 Oct 2015 18:01:45 +0000 (19:01 +0100)
committerTobias Diekershoff <tobias.diekershoff@gmx.net>
Wed, 28 Oct 2015 18:01:45 +0000 (19:01 +0100)
mod/profile.php

index b7b76cbb5bbe60c30003096513a370142f2d5e41..26bd395230b8d937df35ceb1c5fcb10891116227 100644 (file)
@@ -268,10 +268,10 @@ function profile_content(&$a, $update = 0) {
                //  accordingly
                if ($a->is_mobile) {
                    $itemspage_network = get_pconfig(local_user(),'system','itemspage_mobile_network');
-                   $itemspage_network = ((intval($itemspage_network)) ? $itemspage_network : 20);
+                   $itemspage_network = ((intval($itemspage_network)) ? $itemspage_network : 10);
                } else {
                    $itemspage_network = get_pconfig(local_user(),'system','itemspage_network');
-                   $itemspage_network = ((intval($itemspage_network)) ? $itemspage_network : 40);
+                   $itemspage_network = ((intval($itemspage_network)) ? $itemspage_network : 20);
                }
                //  now that we have the user settings, see if the theme forces
                //  a maximum item number which is lower then the user choice