X-Git-Url: http://git.harvie.cz/?a=blobdiff_plain;f=wwwroot%2Finc%2Feventz%2Flogout.inc;h=2590c136149c0be71e864227fbdefb1e7cce8ae2;hb=d4e006f91a41dac11aaf32f7ed8b0205600d3010;hp=4e44bb3b8faf2e7c6687c8ba4c012dda30db7a79;hpb=e23557a6a6a9b7bf1a2f49772ed5856f2c45f084;p=mirrors%2FKyberia-bloodline.git diff --git a/wwwroot/inc/eventz/logout.inc b/wwwroot/inc/eventz/logout.inc index 4e44bb3..2590c13 100644 --- a/wwwroot/inc/eventz/logout.inc +++ b/wwwroot/inc/eventz/logout.inc @@ -4,7 +4,7 @@ global $db; $q="update users set user_action_id=null where user_id='".$_SESSION['user_id']."'"; $db->query($q); - $log->log('logout',$node['node_id'],'ok',$_SESSION['user_name']); + $logger->log('logout',$node['node_id'],'ok',$_SESSION['user_name']); session_unset(); Header("Location: /main"); }