Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
FalkoJoseph committed Oct 19, 2021
1 parent 607a27e commit 080ef6b
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions modules/class-wp-sweepbright-cache.php
Original file line number Diff line number Diff line change
Expand Up @@ -134,9 +134,6 @@ public static function update($estate, $post_id)
$query = "SELECT post_id FROM $table_name WHERE estate_id='" . $estate['id'] . "'";
$query_results = $wpdb->get_results($query);

error_log(print_r(count($query_results), true));
error_log(print_r($query, true));

if (count($query_results) == 0) {
error_log('no_results_insert');
$wpdb->insert($table_name, $data);
Expand Down

0 comments on commit 080ef6b

Please sign in to comment.