r81486 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r81485‎ | r81486 | r81487 >
Date:21:01, 3 February 2011
Author:demon
Status:deferred
Tags:
Comment:
Remove now unused enableBackend()
Modified paths:
  • /trunk/phase3/includes/db/DatabasePostgres.php (modified) (history)
  • /trunk/phase3/includes/db/LBFactory.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/db/DatabasePostgres.php
@@ -192,6 +192,8 @@
193193 }
194194
195195 $this->doQuery( "SET client_encoding='UTF8'" );
 196+ $this->doQuery( "SET datestyle = 'ISO, YMD'" );
 197+ $this->doQuery( "SET timezone = 'GMT'" );
196198
197199 global $wgDBmwschema;
198200 if ( isset( $wgDBmwschema )
Index: trunk/phase3/includes/db/LBFactory.php
@@ -23,14 +23,6 @@
2424 }
2525
2626 /**
27 - * Resets the singleton for use if it's been disabled. Does nothing otherwise
28 - */
29 - public static function enableBackend() {
30 - if( self::$instance instanceof LBFactory_Fake )
31 - self::$instance = null;
32 - }
33 -
34 - /**
3527 * Get an LBFactory instance
3628 */
3729 static function &singleton() {

Follow-up revisions

RevisionCommit summaryAuthorDate
r81487rm unrelated changes from r81486demon21:02, 3 February 2011

Status & tagging log