Remove debug output.

Signed-off-by: DL6ER <dl6er@dl6er.de>
This commit is contained in:
DL6ER
2019-12-08 23:01:02 +00:00
parent a42b5b38cf
commit 59cdd7e148

View File

@@ -102,7 +102,6 @@ function add_to_table($db, $table, $domains, $comment, $wildcardstyle=false, $re
{
$countquery = "SELECT COUNT(*) FROM $table WHERE type = $type;";
}
error_log($countquery);
$initialcount = intval($db->querySingle($countquery));
// Prepare INSERT SQLite statememt
@@ -114,7 +113,6 @@ function add_to_table($db, $table, $domains, $comment, $wildcardstyle=false, $re
{
$querystr = "INSERT OR IGNORE INTO $table (domain,comment,type) VALUES (:domain, :comment, $type);";
}
error_log($querystr);
$stmt = $db->prepare($querystr);
// Return early if we failed to prepare the SQLite statement