[Fusionforge-commits] r15784 - in branches/Branch_5_2: . src/plugins/mediawiki/www

Roland Mas lolando at fusionforge.org
Thu Jun 14 16:24:23 CEST 2012


Author: lolando
Date: 2012-06-14 16:24:23 +0200 (Thu, 14 Jun 2012)
New Revision: 15784

Modified:
   branches/Branch_5_2/
   branches/Branch_5_2/src/plugins/mediawiki/www/LocalSettings.php
Log:
Merged from Evolvis: Mediawiki: PHP5 OOP constructors are now required

Modified: branches/Branch_5_2/src/plugins/mediawiki/www/LocalSettings.php
===================================================================
--- branches/Branch_5_2/src/plugins/mediawiki/www/LocalSettings.php	2012-06-14 14:24:16 UTC (rev 15783)
+++ branches/Branch_5_2/src/plugins/mediawiki/www/LocalSettings.php	2012-06-14 14:24:23 UTC (rev 15784)
@@ -77,12 +77,12 @@
 }
 
 class DatabaseForge extends DatabasePostgres {
-	function DatabaseForge($server=false, $user=false, $password=false,
+	function __construct($server=false, $user=false, $password=false,
 	    $dbName=false, $failFunction=false, $flags=0) {
 		global $wgDBtype;
 
 		$wgDBtype = "postgres";
-		return DatabasePostgres::DatabasePostgres($server, $user,
+		return parent::__construct($server, $user,
 		    $password, $dbName, $failFunction, $flags);
 	}
 




More information about the Fusionforge-commits mailing list