From 80cb358d88a3a3a03f6516697a5c64c5314064bf Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Tue, 28 Feb 2017 10:14:38 +0100 Subject: [PATCH] fix use of old accounts_sql class, only existing if old phpgwapi is installed --- api/src/Mail/Smtp/Sql.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/src/Mail/Smtp/Sql.php b/api/src/Mail/Smtp/Sql.php index 30e68085f4..be5074313b 100644 --- a/api/src/Mail/Smtp/Sql.php +++ b/api/src/Mail/Smtp/Sql.php @@ -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;