fix class Api\Mail\Config not found

This commit is contained in:
Ralf Becker 2021-06-15 10:51:48 +02:00
parent 853d1b1b87
commit 4ef9b08457

View File

@ -187,7 +187,7 @@ class Imap extends Horde_Imap_Client_Socket implements Imap\PushIface
'cacheob' => new Cache(), 'cacheob' => new Cache(),
)), )),
); );
$config = Config::read('mail'); $config = Api\Config::read('mail');
// fix for Dovecot private seen flags: we must NOT allow Horde to cache flags (otherwise Seen does NOT change!) // fix for Dovecot private seen flags: we must NOT allow Horde to cache flags (otherwise Seen does NOT change!)
if (!empty($config['disable_caching'])) if (!empty($config['disable_caching']))
{ {