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:
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");
|
||||
|
Loading…
x
Reference in New Issue
Block a user