mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-26 00:29:38 +01:00
fix use of old accounts_sql class, only existing if old phpgwapi is installed
This commit is contained in:
parent
6cc64bd9b1
commit
80cb358d88
@ -357,7 +357,7 @@ class Sql extends Mail\Smtp
|
||||
*/
|
||||
function getMailboxes($return_inactive)
|
||||
{
|
||||
$join = 'JOIN '.accounts_sql::TABLE.' ON '.self::TABLE.'.account_id='.accounts_sql::TABLE.'.account_id';
|
||||
$join = 'JOIN '.Api\Accounts\Sql::TABLE.' ON '.self::TABLE.'.account_id='.Api\Accounts\Sql::TABLE.'.account_id';
|
||||
if (!$return_inactive)
|
||||
{
|
||||
$join .= ' JOIN '.self::TABLE.' active ON active.account_id='.self::TABLE.'.account_id AND active.mail_type='.self::TYPE_ENABLED;
|
||||
|
Loading…
Reference in New Issue
Block a user