fix class Api\Mail\Config not found

This commit is contained in:
Ralf Becker 2021-06-15 10:51:48 +02:00
parent 51742951ac
commit 7eaa896a61

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']))
{ {