Rolling back changes to the const

This commit is contained in:
jengo 2001-03-09 23:33:09 +00:00
parent 4fc5186eb8
commit 4157660b0e

View File

@ -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))
{ {