[evolvis-commits] r11429: *** empty log message ***↵

mirabilos at evolvis.org mirabilos at evolvis.org
Thu Feb 24 18:09:58 CET 2011


Author: mirabilos
Date: 2011-02-24 18:09:58 +0100 (Thu, 24 Feb 2011)
New Revision: 11429

Modified:
   trunk/gforge_base/evolvisforge-5.1/gforge/www/admin/pluginman.php
Log:
*** empty log message ***


Modified: trunk/gforge_base/evolvisforge-5.1/gforge/www/admin/pluginman.php
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/gforge/www/admin/pluginman.php	2011-02-24 17:09:57 UTC (rev 11428)
+++ trunk/gforge_base/evolvisforge-5.1/gforge/www/admin/pluginman.php	2011-02-24 17:09:58 UTC (rev 11429)
@@ -64,6 +64,7 @@
 		if (!res) {
 			exit_error("SQL ERROR",db_error());
 		} else {
+			$feedback = $Language->getText('pluginman','success',$pluginname);
 			if (is_dir($sys_plugins_path . $pluginname . '/www')) { // if the plugin has a www dir delete the link to it
 				chdir('../plugins');
 				if (file_exists($pluginname)) {
@@ -76,7 +77,6 @@
 						system('rm ' . $pluginname,$result2); // the apache group or user should have write perms in /etc/gforge/plugins folder...
 					}					
 				}
-				$feedback = $Language->getText('pluginman','success',$pluginname);
 				if ($result!=0) {
 					$feedback .= $Language->getText('pluginman','successnodeletelink');
 				}
@@ -91,6 +91,7 @@
 		if (!res) {
 			exit_error("SQL ERROR",db_error());
 		} else {
+			$feedback = $Language->getText('pluginman','success',$pluginname);
 			if (is_dir($sys_plugins_path . $pluginname . '/www')) { // if the plugin has a www dir make a link to it
 				chdir('../plugins');
 				$return_value = symlink($sys_plugins_path . $pluginname . '/www',$pluginname); // the apache group or user should have write perms the plugins folder...
@@ -99,7 +100,6 @@
 				} else {
 					$return_value2 = symlink($sys_plugins_path . $pluginname . '/etc/plugins/' . $pluginname,$pluginname); // the apache group or user should have write perms in /etc/gforge/plugins folder...
 				}
-				$feedback = $Language->getText('pluginman','success',$pluginname);
 				if (!$return_value) {
 					$feedback .= $Language->getText('pluginman','successnolink');
 				}



More information about the evolvis-commits mailing list