This restores Special:Allmessages to working order; previously it was
showing the MediaWiki: message in both columns, which is not too helpful.
}
$message = false;
- if ( !$this->mDisable ) {
+ if ( !$this->mDisable && $useDB ) {
$title = $wgLang->ucfirst( $key );
}
# If it wasn't in the cache, load each message from the DB individually
- if ( !$message && $useDB) {
+ if ( !$message ) {
$dbr =& wfGetDB( DB_SLAVE );
$result = $dbr->getArray( 'cur', array('cur_text'),
array( 'cur_namespace' => NS_MEDIAWIKI, 'cur_title' => $title ),