DB Logging is a Debug level

pull/2090/head^2
Isaac Connor 2018-04-24 08:42:52 -04:00
parent b5ff820c61
commit 9fd2c12765
1 changed files with 1 additions and 4 deletions

View File

@ -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);
}