From 25f3b8f34c585bf428748427527ecacf11b5da3d Mon Sep 17 00:00:00 2001 From: Miles Lott Date: Thu, 1 Mar 2001 16:41:38 +0000 Subject: [PATCH] Oops, move the phpgw_info above the class spec --- phpgwapi/inc/class.accounts_ldap.inc.php | 19 ++++++++++--------- phpgwapi/inc/class.accounts_sql.inc.php | 9 ++------- 2 files changed, 12 insertions(+), 16 deletions(-) diff --git a/phpgwapi/inc/class.accounts_ldap.inc.php b/phpgwapi/inc/class.accounts_ldap.inc.php index ce12107dcc..88643e8398 100644 --- a/phpgwapi/inc/class.accounts_ldap.inc.php +++ b/phpgwapi/inc/class.accounts_ldap.inc.php @@ -23,15 +23,8 @@ \**************************************************************************/ /* $Id$ */ - - class accounts_ - { - var $db; - var $account_id; - var $data; - var $memberships = Array(); - var $members; - // Dont know where to put this (seek3r) + + // Dont know where to put this (seek3r) // This is where it belongs (jengo) // This is where it ended up (milosch) /* Since LDAP will return system accounts, there are a few we don't want to login. */ @@ -60,6 +53,14 @@ 'named' => True ); + class accounts_ + { + var $db; + var $account_id; + var $data; + var $memberships = Array(); + var $members; + function accounts_() { global $phpgw; diff --git a/phpgwapi/inc/class.accounts_sql.inc.php b/phpgwapi/inc/class.accounts_sql.inc.php index 39e0a2d597..aafa463aa1 100644 --- a/phpgwapi/inc/class.accounts_sql.inc.php +++ b/phpgwapi/inc/class.accounts_sql.inc.php @@ -24,6 +24,8 @@ /* $Id$ */ + $phpgw_info["server"]["global_denied_users"] = array(); + class accounts_ { var $db; @@ -32,13 +34,6 @@ var $memberships; var $members; - // Dont know where to put this (seek3r) - // This is where it belongs (jengo) - // This is where it ended up (milosch) - /* Since LDAP will return system accounts, there are a few we don't want to login. */ - // it is here as an empty array to avoid some errors, hopefully - $phpgw_info["server"]["global_denied_users"] = array(); - function accounts() { global $phpgw;