reverted Lars commit 24950, as it requires php5 and 1.4 is suposed to work with php4.3+

This commit is contained in:
Ralf Becker 2008-03-19 20:00:49 +00:00
parent c29936bd79
commit 397c1bcf89

View File

@ -124,28 +124,6 @@ class accounts extends accounts_backend
'start' => 'start with', 'start' => 'start with',
'exact' => 'exact', 'exact' => 'exact',
); );
/**
* the instance of the accounts class
*
* @var accounts
*/
static $_instance = NULL;
/**
* the singleton pattern
*
* @return accounts
*/
static function getInstance()
{
if (self::$_instance === NULL) {
self::$_instance = new accounts;
}
return self::$_instance;
}
/** /**
* Constructor * Constructor
* *
@ -158,18 +136,6 @@ class accounts extends accounts_backend
$this->accounts_backend(); // call constructor of extended class $this->accounts_backend(); // call constructor of extended class
} }
/**
* set the accountId used by this class
*
* @param int $accountId
*/
function setAccountId($accountId)
{
if($accountId && is_numeric($accountId)) {
$this->account_id = (int)$accountId;
}
}
/** /**
* Searches / lists accounts: users and/or groups * Searches / lists accounts: users and/or groups
* *