Bug fix for log file with class and missing wrapper function in DB\IO
When the class name was in a namespace the \ was added into the file name that might cause some issues. \ is replaced with - The wrapper for db_exec was missing in the DB\IO class
This commit is contained in:
@@ -1964,6 +1964,12 @@ class IO extends \CoreLibs\Basic
|
||||
return $this->dbCacheReset($query);
|
||||
}
|
||||
|
||||
public function db_exec($query = 0, $pk_name = '')
|
||||
{
|
||||
error_log('DEPRECATED CALL: '.__METHOD__.', '.__FILE__.':'.__LINE__.', '.debug_backtrace()[0]['file'].':'.debug_backtrace()[0]['line']);
|
||||
return $this->dbExec($query, $pk_name);
|
||||
}
|
||||
|
||||
public function db_exec_async($query, $pk_name = '')
|
||||
{
|
||||
error_log('DEPRECATED CALL: '.__METHOD__.', '.__FILE__.':'.__LINE__.', '.debug_backtrace()[0]['file'].':'.debug_backtrace()[0]['line']);
|
||||
|
||||
Reference in New Issue
Block a user