r60745 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r60744‎ | r60745 | r60746 >
Date:20:17, 6 January 2010
Author:philip
Status:ok (Comments)
Tags:
Comment:
Change or to ||.
Modified paths:
  • /trunk/phase3/languages/Language.php (modified) (history)

Diff [purge]

Index: trunk/phase3/languages/Language.php
@@ -1698,7 +1698,7 @@
16991699 */
17001700 function stripForSearch( $string ) {
17011701 global $wgDBtype, $wgSearchType;
1702 - if ( $wgDBtype != 'mysql' or $wgSearchType == 'LuceneSearch' ) {
 1702+ if ( $wgDBtype != 'mysql' || $wgSearchType == 'LuceneSearch' ) {
17031703 return $string;
17041704 }
17051705

Comments

#Comment by PhiLiP (talk | contribs)   20:18, 6 January 2010

This one is follow-up r60743.

Status & tagging log