Skip to content

Commit

Permalink
remove redundant WHERE condition
Browse files Browse the repository at this point in the history
  • Loading branch information
tharsheblows committed Aug 6, 2024
1 parent 9c8e59b commit e931533
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion classes/class-admin.php
Original file line number Diff line number Diff line change
Expand Up @@ -766,7 +766,7 @@ private function erase_stream_records() {
FROM {$wpdb->stream} AS `stream`
LEFT JOIN {$wpdb->streammeta} AS `meta`
ON `meta`.`record_id` = `stream`.`ID`
WHERE 1=1 AND `blog_id`=%d;",
WHERE `blog_id`=%d;",
get_current_blog_id()
)
);
Expand Down

0 comments on commit e931533

Please sign in to comment.