Skip to content

Commit dc21771

Browse files
committed
Remove unneeded condition
1 parent fce17b2 commit dc21771

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/Search_Replace_Command.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -544,9 +544,7 @@ private function php_handle_col( $col, $primary_keys, $table, $old, $new ) {
544544
}
545545

546546
if ( $this->dry_run ) {
547-
if ( $value != $col_value ) {
548-
$count++;
549-
}
547+
$count++;
550548
} else {
551549
$where = array();
552550
foreach ( (array) $keys as $k => $v ) {

0 commit comments

Comments
 (0)