com web/news: Revert "* Increase the number of mails shown from 20 to 50 per page": group.php
| From: | Ferenc Kovacs | Date: | Wed, 27 Feb 2013 21:22:24 +0000 |
| Subject: | com web/news: Revert "* Increase the number of mails shown from 20 to 50 per page": group.php | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-15579@lists.php.net to get a copy of this message | ||
Commit: 9d9f169db678ba40ded27577b903a5f9a14f2d76
Author: Ferenc Kovacs <tyra3l@gmail.com> Wed, 27 Feb 2013 22:22:24 +0100
Parents: 074d9b65fb987b9d2cb27da52eccf8fa0e74f85b
Branches: master
Link: http://git.php.net/?p=web/news.git;a=commitdiff;h=9d9f169db678ba40ded27577b903a5f9a14f2d76
Log:
Revert "* Increase the number of mails shown from 20 to 50 per page"
This reverts commit 074d9b65fb987b9d2cb27da52eccf8fa0e74f85b.
Changed paths:
M group.php
Diff:
diff --git a/group.php b/group.php
index ec6995a..177c45a 100644
--- a/group.php
+++ b/group.php
@@ -42,11 +42,11 @@ $start = (isset($_GET['start']) ? (integer) $_GET['start'] :
0);
list(, $first, $last) = explode(' ', $data);
-if (!$start || $start > ($last - 49) || $start < $first) {
- $start = ($last - $first) > 49 ? $last - 49 : $first;
+if (!$start || $start > ($last - 19) || $start < $first) {
+ $start = ($last - $first) > 19 ? $last - 19 : $first;
}
-$n = min($last, $start + 49);
+$n = min($last, $start + 19);
if (!$nntp->command('XOVER ' . $start . '-' . $n, 224)) {
error($lang['groups_error_xover']);