GLOBALize log message call

This commit is contained in:
Miles Lott 2001-09-03 04:13:52 +00:00
parent 8dd5db4d01
commit 2460cbbf09

View File

@ -260,8 +260,8 @@
$this->read_repositories(False); $this->read_repositories(False);
if ($this->user['expires'] != -1 && $this->user['expires'] < time()) if ($this->user['expires'] != -1 && $this->user['expires'] < time())
{ {
$phpgw->log->message('W-LoginFailure, account loginid %1 is expired',$this->account_lid); $GLOBALS['phpgw']->log->message('W-LoginFailure, account loginid %1 is expired',$this->account_lid);
$phpgw->log->commit(); $GLOBALS['phpgw']->log->commit();
return False; return False;
} }