Index: trunk/extensions/Translate/utils/TranslateMetadata.php |
— | — | @@ -22,7 +22,7 @@ |
23 | 23 | public static function get( $group, $key ) { |
24 | 24 | if ( self::$cache === null ) { |
25 | 25 | $dbr = wfGetDB( DB_SLAVE ); |
26 | | - $cache = $dbr->select( 'translate_metadata', '*', array(), __METHOD__ ); |
| 26 | + self::$cache = $dbr->select( 'translate_metadata', '*', array(), __METHOD__ ); |
27 | 27 | } |
28 | 28 | |
29 | 29 | foreach ( self::$cache as $row ) { |