[Fusionforge-commits] r9573 - trunk/gforge/plugins/mediawiki/cronjobs

Christian Bayle cbayle at libremir.placard.fr.eu.org
Wed Apr 21 23:37:37 CEST 2010


Author: cbayle
Date: 2010-04-21 23:37:37 +0200 (Wed, 21 Apr 2010)
New Revision: 9573

Modified:
   trunk/gforge/plugins/mediawiki/cronjobs/create-wikis.php
Log:
Fix config vars


Modified: trunk/gforge/plugins/mediawiki/cronjobs/create-wikis.php
===================================================================
--- trunk/gforge/plugins/mediawiki/cronjobs/create-wikis.php	2010-04-21 20:33:57 UTC (rev 9572)
+++ trunk/gforge/plugins/mediawiki/cronjobs/create-wikis.php	2010-04-21 21:37:37 UTC (rev 9573)
@@ -55,14 +55,13 @@
 
 # Owner of files - apache
 $file_owner = forge_get_config('apache_user').':'.forge_get_config('apache_group');
-if (forge_get_config('apache_user' == '') || forge_get_config('apache_group') == '') {
+if (forge_get_config('apache_user') == '' || forge_get_config('apache_group') == '') {
 	$err =  "Error: sys_apache_user Is Not Set Or sys_apache_group Is Not Set!";
 	cron_debug($err);
 	cron_entry(23,$err);
 	exit;
 }
 
-
 # Get all projects that use the mediawiki plugin
 $project_res = db_query_params ("SELECT g.unix_group_name from groups g, group_plugin gp, plugins p where g.group_id = gp.group_id and gp.plugin_id = p.plugin_id and p.plugin_name = $1;", array("mediawiki"));
 if (!$project_res) {




More information about the Fusionforge-commits mailing list