From 386f8a755af1988330d8887390905fd21d552a18 Mon Sep 17 00:00:00 2001 From: skeeter Date: Sun, 2 Sep 2001 07:30:46 +0000 Subject: [PATCH] Missed a GLOBALS. --- admin/inc/class.soaccess_history.inc.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/admin/inc/class.soaccess_history.inc.php b/admin/inc/class.soaccess_history.inc.php index 3b2f45252d..eb57c9ad11 100644 --- a/admin/inc/class.soaccess_history.inc.php +++ b/admin/inc/class.soaccess_history.inc.php @@ -17,9 +17,7 @@ function soaccess_history() { - global $phpgw; - - $this->db = $phpgw->db; + $this->db = $GLOBALS['phpgw']->db; } function test_account_id($account_id) @@ -70,4 +68,4 @@ return $this->db->f(0); } - } \ No newline at end of file + }