From 080ef6b821dcf607487a34b2f33c275cc2503c98 Mon Sep 17 00:00:00 2001 From: Falko Joseph Date: Tue, 19 Oct 2021 11:17:54 +0200 Subject: [PATCH] Fix --- modules/class-wp-sweepbright-cache.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/modules/class-wp-sweepbright-cache.php b/modules/class-wp-sweepbright-cache.php index 440e42b6..bb91c7ae 100644 --- a/modules/class-wp-sweepbright-cache.php +++ b/modules/class-wp-sweepbright-cache.php @@ -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);