[Fusionforge-commits] FusionForge branch master updated. 8adf30168104f45f459ff46f104766946ab6dc79

Franck Villaume nerville at fusionforge.org
Thu Sep 11 13:53:14 CEST 2014


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  8adf30168104f45f459ff46f104766946ab6dc79 (commit)
      from  ce065d618c3d77494691b239ff54570cd22e2c0e (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 8adf30168104f45f459ff46f104766946ab6dc79
Author: Franck Villaume <franck.villaume at trivialdev.com>
Date:   Thu Sep 11 13:51:36 2014 +0200

    viewvc: less code

diff --git a/src/www/scm/viewvc.php b/src/www/scm/viewvc.php
index c0d58d9..78c9f11 100644
--- a/src/www/scm/viewvc.php
+++ b/src/www/scm/viewvc.php
@@ -163,17 +163,11 @@ switch ($_GET['view']) {
 				case (preg_match('/text\/.*/', $content_type) ? true : false):
 				case (preg_match('/.*\/javascript/', $content_type) ? true : false): {
 					header('Content-Type: text/plain');
-					echo $body;
-					break;
-				}
-				default: {
-					echo $body;
 					break;
 				}
 			}
-		} else {
-			echo $body;
 		}
+		echo $body;
 		break;
 	}
 	default: {

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

Summary of changes:
 src/www/scm/viewvc.php |    8 +-------
 1 file changed, 1 insertion(+), 7 deletions(-)


hooks/post-receive
-- 
FusionForge



More information about the Fusionforge-commits mailing list