This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "FusionForge".
The branch, master has been updated
via 6e74e53ec4b646e74107273503cde4d66aa6c2cc (commit)
from 2d7825278d55318cb5e39d2a76503f8f467efdbf (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
https://scm.fusionforge.org/anonscm/gitweb/?p=fusionforge/fusionforge.git;a=commitdiff;h=6e74e53ec4b646e74107273503cde4d66aa6c2cc
commit 6e74e53ec4b646e74107273503cde4d66aa6c2cc
Author: Franck Villaume <[email protected]>
Date: Sun Nov 1 14:45:58 2015 +0100
tracker: browse.php, remove useless code
diff --git a/src/common/tracker/actions/browse.php
b/src/common/tracker/actions/browse.php
index f6662df..a50d332 100644
--- a/src/common/tracker/actions/browse.php
+++ b/src/common/tracker/actions/browse.php
@@ -63,6 +63,8 @@ if (session_loggedin()) {
}
$u->setPreference("paging", $paging);
}
+ /* logged in users get configurable paging */
+ $paging = $u->getPreference("paging");
if($query_id) {
if ($query_id == '-1') {
@@ -255,11 +257,7 @@ if ($art_arr && ($art_cnt = count($art_arr)) > 0) {
$start = 0;
$focus = 0;
}
-$paging = 0;
-if (session_loggedin()) {
- /* logged in users get configurable paging */
- $paging = $u->getPreference("paging");
-}
+
if (!$paging) {
$paging = 25;
}
-----------------------------------------------------------------------
Summary of changes:
src/common/tracker/actions/browse.php | 8 +++-----
1 file changed, 3 insertions(+), 5 deletions(-)
hooks/post-receive
--
FusionForge
_______________________________________________
Fusionforge-commits mailing list
[email protected]
http://lists.fusionforge.org/cgi-bin/mailman/listinfo/fusionforge-commits