1
0
mirror of https://github.com/e107inc/e107.git synced 2025-04-22 05:31:58 +02:00

Removed globals from db_Write_log() method.

This commit is contained in:
Cameron 2019-02-09 12:47:54 -08:00
parent b061e05c2a
commit b471292a36

@ -437,7 +437,8 @@ class e_db_mysql
*/
function db_Write_log($log_type = '', $log_remark = '', $log_query = '')
{
global $tp, $e107;
$tp = e107::getParser();
list($time_usec, $time_sec) = explode(" ", microtime());
$uid = (USER) ? USERID : '0';
$userstring = ( USER === true ? USERNAME : "LAN_ANONYMOUS");