[evolvis-commits] r18251: enable extratabs and mw plugins in template; ignore template's scm choice

mirabilos at evolvis.org mirabilos at evolvis.org
Thu Apr 5 23:02:16 CEST 2012


Author: mirabilos
Date: 2012-04-05 23:02:15 +0200 (Thu, 05 Apr 2012)
New Revision: 18251

Modified:
   trunk/gforge_base/evolvisforge-5.1/src/common/include/Group.class.php
   trunk/gforge_base/evolvisforge-5.1/src/utils/fixscripts/populate_template_project.php
Log:
enable extratabs and mw plugins in template; ignore template's scm choice


Modified: trunk/gforge_base/evolvisforge-5.1/src/common/include/Group.class.php
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/src/common/include/Group.class.php	2012-04-05 21:02:11 UTC (rev 18250)
+++ trunk/gforge_base/evolvisforge-5.1/src/common/include/Group.class.php	2012-04-05 21:02:15 UTC (rev 18251)
@@ -2605,7 +2605,7 @@
 				}
 			}
 
-			$this->setUseSCM ($template->usesSCM()) ;
+//			$this->setUseSCM ($template->usesSCM()) ;
 
 			foreach ($template->getPlugins() as $plugin_id => $plugin_name) {
 				$this->setPluginUse ($plugin_name) ;

Modified: trunk/gforge_base/evolvisforge-5.1/src/utils/fixscripts/populate_template_project.php
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/src/utils/fixscripts/populate_template_project.php	2012-04-05 21:02:11 UTC (rev 18250)
+++ trunk/gforge_base/evolvisforge-5.1/src/utils/fixscripts/populate_template_project.php	2012-04-05 21:02:15 UTC (rev 18251)
@@ -231,6 +231,13 @@
 	}
 	$project->normalizeAllRoles () ;
 
+	foreach (array(
+		'extratabs',
+		'mediawiki',
+	    ) as $plugname) {
+		$project->setPluginUse($plugname);
+	}
+
 	db_commit();
 
 	return true;



More information about the evolvis-commits mailing list