From 2460cbbf099361a5b9ab6c22f8a863aeda498048 Mon Sep 17 00:00:00 2001 From: Miles Lott Date: Mon, 3 Sep 2001 04:13:52 +0000 Subject: [PATCH] GLOBALize log message call --- phpgwapi/inc/class.sessions.inc.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/phpgwapi/inc/class.sessions.inc.php b/phpgwapi/inc/class.sessions.inc.php index f468469bb4..3d290f5d7a 100644 --- a/phpgwapi/inc/class.sessions.inc.php +++ b/phpgwapi/inc/class.sessions.inc.php @@ -260,8 +260,8 @@ $this->read_repositories(False); if ($this->user['expires'] != -1 && $this->user['expires'] < time()) { - $phpgw->log->message('W-LoginFailure, account loginid %1 is expired',$this->account_lid); - $phpgw->log->commit(); + $GLOBALS['phpgw']->log->message('W-LoginFailure, account loginid %1 is expired',$this->account_lid); + $GLOBALS['phpgw']->log->commit(); return False; }