[Fusionforge-commits] r11840 - trunk/src/www/admin

Franck VILLAUME nerville at libremir.placard.fr.eu.org
Sun Dec 19 17:27:40 CET 2010


Author: nerville
Date: 2010-12-19 17:27:39 +0100 (Sun, 19 Dec 2010)
New Revision: 11840

Modified:
   trunk/src/www/admin/pluginman.php
Log:
code cleanup

Modified: trunk/src/www/admin/pluginman.php
===================================================================
--- trunk/src/www/admin/pluginman.php	2010-12-18 18:40:21 UTC (rev 11839)
+++ trunk/src/www/admin/pluginman.php	2010-12-19 16:27:39 UTC (rev 11840)
@@ -148,17 +148,17 @@
 				$addPlugin = 0;
 			}
 			$used = false;
-			$res = db_query_params ('SELECT  u.user_name FROM plugins p, user_plugin up, users u WHERE p.plugin_name = $1 and up.user_id = u.user_id and p.plugin_id = up.plugin_id',
+			$res = db_query_params('SELECT  u.user_name FROM plugins p, user_plugin up, users u WHERE p.plugin_name = $1 and up.user_id = u.user_id and p.plugin_id = up.plugin_id',
 				array($filename));
 			if ($res) {
 				if (db_numrows($res)>0) {
 					$used = true;
 				}
 			}
-			$res1 = db_query_params ('SELECT g.group_name FROM plugins p, group_plugin gp, groups g WHERE plugin_name = $1 and gp.group_id = g.group_id and p.plugin_id = gp.plugin_id',
+			$res1 = db_query_params('SELECT g.group_name FROM plugins p, group_plugin gp, groups g WHERE plugin_name = $1 and gp.group_id = g.group_id and p.plugin_id = gp.plugin_id',
 				array($filename));
 			if ($res1) {
-				if (db_numrows($res1)>0) {
+				if (db_numrows($res1) > 0) {
 					$used = true;
 				}
 			}




More information about the Fusionforge-commits mailing list