mirror of
https://github.com/e107inc/e107.git
synced 2025-08-01 04:10:38 +02:00
Removed globals from db_Write_log() method.
This commit is contained in:
@@ -437,7 +437,8 @@ class e_db_mysql
|
|||||||
*/
|
*/
|
||||||
function db_Write_log($log_type = '', $log_remark = '', $log_query = '')
|
function db_Write_log($log_type = '', $log_remark = '', $log_query = '')
|
||||||
{
|
{
|
||||||
global $tp, $e107;
|
|
||||||
|
$tp = e107::getParser();
|
||||||
list($time_usec, $time_sec) = explode(" ", microtime());
|
list($time_usec, $time_sec) = explode(" ", microtime());
|
||||||
$uid = (USER) ? USERID : '0';
|
$uid = (USER) ? USERID : '0';
|
||||||
$userstring = ( USER === true ? USERNAME : "LAN_ANONYMOUS");
|
$userstring = ( USER === true ? USERNAME : "LAN_ANONYMOUS");
|
||||||
|
Reference in New Issue
Block a user