Fix fail double pasting from r95497
authorSam Reed <reedy@users.mediawiki.org>
Thu, 25 Aug 2011 17:48:55 +0000 (17:48 +0000)
committerSam Reed <reedy@users.mediawiki.org>
Thu, 25 Aug 2011 17:48:55 +0000 (17:48 +0000)
includes/db/DatabaseOracle.php

index 8ede6bc..4a19fcb 100644 (file)
@@ -1194,7 +1194,6 @@ class DatabaseOracle extends DatabaseBase {
                        $sql .= $sqlSet;
                }
 
-               if ( $conds !== array() && $conds !== '*' ) {
                if ( $conds !== array() && $conds !== '*' ) {
                        $conds = $this->wrapConditionsForWhere( $table, $conds );
                        $sql .= ' WHERE ' . $this->makeList( $conds, LIST_AND );
@@ -1284,7 +1283,8 @@ class DatabaseOracle extends DatabaseBase {
                return 'BITOR(' . $fieldLeft . ', ' . $fieldRight . ')';
        }
 
-       function setFakeMaster( $enabled = true ) { }
+       function setFakeMaster( $enabled = true ) {
+       }
 
        function getDBname() {
                return $this->mDBname;