Index: trunk/phase3/includes/db/DatabasePostgres.php |
— | — | @@ -192,6 +192,8 @@ |
193 | 193 | } |
194 | 194 | |
195 | 195 | $this->doQuery( "SET client_encoding='UTF8'" ); |
| 196 | + $this->doQuery( "SET datestyle = 'ISO, YMD'" ); |
| 197 | + $this->doQuery( "SET timezone = 'GMT'" ); |
196 | 198 | |
197 | 199 | global $wgDBmwschema; |
198 | 200 | if ( isset( $wgDBmwschema ) |
Index: trunk/phase3/includes/db/LBFactory.php |
— | — | @@ -23,14 +23,6 @@ |
24 | 24 | } |
25 | 25 | |
26 | 26 | /** |
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 | | - /** |
35 | 27 | * Get an LBFactory instance |
36 | 28 | */ |
37 | 29 | static function &singleton() { |