[Fusionforge-commits] FusionForge branch master updated. 9c8a2e84b40a8a0b0b584b18fde1c3cc9e27c990

Marc-Etienne VARGENAU vargenau at fusionforge.org
Thu Dec 26 15:59:39 CET 2013


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  9c8a2e84b40a8a0b0b584b18fde1c3cc9e27c990 (commit)
       via  25c9bd0d9f27b302ab869640c7b458f0ba646f8c (commit)
      from  7e9b4ab79587717636931fc869272f1387c08805 (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 -----------------------------------------------------------------
commit 9c8a2e84b40a8a0b0b584b18fde1c3cc9e27c990
Author: vargenau <Marc-Etienne.Vargenau at alcatel-lucent.com>
Date:   Thu Dec 26 16:00:48 2013 +0100

    No unit needede

diff --git a/src/www/themes/funky/css/theme.css b/src/www/themes/funky/css/theme.css
index c046450..921ab23 100644
--- a/src/www/themes/funky/css/theme.css
+++ b/src/www/themes/funky/css/theme.css
@@ -815,7 +815,7 @@ p.information {
 	color: white;
 	background: #34b234;
 	padding: 3px 3px 3px 10px;
-	margin: 0px -4px 0px -4px;
+	margin: 0 -4px 0 -4px;
 }
 
 .info-box:nth-child(4n) h2 {

commit 25c9bd0d9f27b302ab869640c7b458f0ba646f8c
Author: vargenau <Marc-Etienne.Vargenau at alcatel-lucent.com>
Date:   Thu Dec 26 15:59:33 2013 +0100

    Function is void

diff --git a/src/www/frs/download.php b/src/www/frs/download.php
index 8b3b668..d2e86fa 100644
--- a/src/www/frs/download.php
+++ b/src/www/frs/download.php
@@ -55,7 +55,7 @@ function send_file($filename, $filepath, $file_id = NULL, $mode = NULL) {
 	readfile_chunked($filepath);
 
 	if (!$file_id) {
-		return true;
+		return;
 	}
 
 	if (session_loggedin()) {
@@ -67,14 +67,14 @@ function send_file($filename, $filepath, $file_id = NULL, $mode = NULL) {
 
 	$ip = getStringFromServer('REMOTE_ADDR');
 	if ($mode != 'latestzip') {
-		$res = db_query_params("INSERT INTO frs_dlstats_file (ip_address,file_id,month,day,user_id) VALUES ($1, $2, $3, $4, $5)", array($ip,$file_id,date('Ym'),date('d'),$us));
+		db_query_params("INSERT INTO frs_dlstats_file (ip_address,file_id,month,day,user_id) VALUES ($1, $2, $3, $4, $5)", array($ip,$file_id,date('Ym'),date('d'),$us));
 	} else {
 		// here $file_id is a package_id
 		$Package = frspackage_get_object($file_id);
 		$release = $Package->getNewestRelease();
 		$files = $release->getFiles();
 		foreach ($files as $fileObject) {
-			$res = db_query_params("INSERT INTO frs_dlstats_file (ip_address,file_id,month,day,user_id) VALUES ($1, $2, $3, $4, $5)", array($ip, $fileObject->getID(), date('Ym'), date('d'), $us));
+			db_query_params("INSERT INTO frs_dlstats_file (ip_address,file_id,month,day,user_id) VALUES ($1, $2, $3, $4, $5)", array($ip, $fileObject->getID(), date('Ym'), date('d'), $us));
 		}
 	}
 }

-----------------------------------------------------------------------

Summary of changes:
 src/www/frs/download.php           |    6 +++---
 src/www/themes/funky/css/theme.css |    2 +-
 2 files changed, 4 insertions(+), 4 deletions(-)


hooks/post-receive
-- 
FusionForge



More information about the Fusionforge-commits mailing list