Commit 16beac95 authored by Nigel McNie's avatar Nigel McNie Committed by Nigel McNie
Browse files

Changed calls to log_debug for new name.

parent c7f2612e
......@@ -53,7 +53,7 @@ function execute_sql($command) {
$result = $db->Execute($command);
}
catch (ADODB_Exception $e) {
log_dbg($e->getMessage() . "Command was: $command");
log_debug($e->getMessage() . "Command was: $command");
$db->debug = $olddebug;
throw new DatalibException('Could not execute command: ' . $command);
}
......@@ -357,7 +357,7 @@ function get_recordset_sql($sql, $values=null, $limitfrom=null, $limitnum=null)
}
catch (ADODB_Exception $e) {
$message = 'Failed to get a recordset: ' . $e->getMessage() . "Command was: $sql";
log_dbg($message);
log_debug($message);
throw new DatalibException($message);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment