[Fusionforge-commits] r11715 - branches/Branch_5_1/src/plugins/scmsvn/common

Alain Peyrat aljeux at libremir.placard.fr.eu.org
Tue Dec 7 20:29:55 CET 2010


Author: aljeux
Date: 2010-12-07 20:29:55 +0100 (Tue, 07 Dec 2010)
New Revision: 11715

Modified:
   branches/Branch_5_1/src/plugins/scmsvn/common/SVNPlugin.class.php
Log:
Minor: indent code.

Modified: branches/Branch_5_1/src/plugins/scmsvn/common/SVNPlugin.class.php
===================================================================
--- branches/Branch_5_1/src/plugins/scmsvn/common/SVNPlugin.class.php	2010-12-07 19:29:49 UTC (rev 11714)
+++ branches/Branch_5_1/src/plugins/scmsvn/common/SVNPlugin.class.php	2010-12-07 19:29:55 UTC (rev 11715)
@@ -49,7 +49,7 @@
 
 		$this->register () ;
 	}
-	
+
 	function getDefaultServer() {
 		return forge_get_config('default_server', 'scmsvn') ;
 	}
@@ -80,7 +80,7 @@
 	}
 
 	function getInstructionsForAnon ($project) {
-		$b = '<h2>' . _("Anonymous Subversion Access") . '</h2>';
+		$b = '<h2>' . _('Anonymous Subversion Access') . '</h2>';
 		$b .= '<p>';
 		$b .= _("This project's SVN repository can be checked out through anonymous access with the following command(s).");
 		$b .= '</p>';
@@ -338,9 +338,9 @@
 			$start_time = gmmktime( 0, 0, 0, $month, $day, $year);
 			$end_time = $start_time + 86400;
 
+			$adds    = 0 ;
 			$updates = 0 ;
-			$adds = 0 ;
-			$usr_adds = array () ;
+			$usr_adds    = array () ;
 			$usr_updates = array () ;
 
 			$repo = forge_get_config('repos_path', 'scmsvn') . '/' . $project->getUnixName() ;
@@ -423,7 +423,7 @@
 				} else {
 					continue;
 				}
-		
+
 				$uu = $usr_updates[$user] ? $usr_updates[$user] : 0 ;
 				$ua = $usr_adds[$user] ? $usr_adds[$user] : 0 ;
 				if ($uu > 0 || $ua > 0) {
@@ -446,8 +446,6 @@
 
 	function generateSnapshots ($params) {
 
-
-
 		$project = $this->checkParams ($params) ;
 		if (!$project) {
 			return false ;




More information about the Fusionforge-commits mailing list