mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-26 00:29:38 +01:00
Rolling back changes to the const
This commit is contained in:
parent
4fc5186eb8
commit
4157660b0e
@ -31,18 +31,11 @@
|
|||||||
* I might move this to the accounts_shared if it stays around *
|
* I might move this to the accounts_shared if it stays around *
|
||||||
\**************************************************************************/
|
\**************************************************************************/
|
||||||
|
|
||||||
function accounts($account_id = False, $db = '')
|
function accounts($account_id = False)
|
||||||
{
|
{
|
||||||
global $phpgw, $phpgw_info;
|
global $phpgw, $phpgw_info;
|
||||||
|
|
||||||
if (! is_object($db))
|
$this->db = $phpgw->db;
|
||||||
{
|
|
||||||
$this->db = $phpgw->db;
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
$this->db = $db;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (! isset($account_id))
|
if (! isset($account_id))
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user