Code Duplication    Length = 6-6 lines in 2 locations

includes/db/Database.php 2 locations

@@ 2252-2257 (lines=6) @@
2249
		$table = $this->tableName( $table );
2250
		$sql = "DELETE FROM $table";
2251
2252
		if ( $conds != '*' ) {
2253
			if ( is_array( $conds ) ) {
2254
				$conds = $this->makeList( $conds, LIST_AND );
2255
			}
2256
			$sql .= ' WHERE ' . $conds;
2257
		}
2258
2259
		return $this->query( $sql, $fname );
2260
	}
@@ 2290-2295 (lines=6) @@
2287
			" SELECT $startOpts " . implode( ',', $varMap ) .
2288
			" FROM $srcTable $useIndex ";
2289
2290
		if ( $conds != '*' ) {
2291
			if ( is_array( $conds ) ) {
2292
				$conds = $this->makeList( $conds, LIST_AND );
2293
			}
2294
			$sql .= " WHERE $conds";
2295
		}
2296
2297
		$sql .= " $tailOpts";
2298