From 9fd2c127650018b5b1c3b0f013a9690c95c91dbb Mon Sep 17 00:00:00 2001 From: Isaac Connor Date: Tue, 24 Apr 2018 08:42:52 -0400 Subject: [PATCH] DB Logging is a Debug level --- web/includes/database.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/web/includes/database.php b/web/includes/database.php index 9ec113ff1..872371089 100644 --- a/web/includes/database.php +++ b/web/includes/database.php @@ -133,10 +133,7 @@ function dbQuery( $sql, $params=NULL ) { } } else { if ( defined('ZM_DB_DEBUG') ) { - if ( $params ) - Warning("SQL: $sql" . implode(',',$params) ); - else - Warning("SQL: $sql:" ); + Logger::Debug("SQL: $sql values:" . $params?implode(',',$params):'' ); } $result = $dbConn->query($sql); }