checking sieve enabled on imap-server object not account, so imap plugins can overwrite eg. always set this

This commit is contained in:
Ralf Becker 2014-12-18 11:01:59 +00:00
parent aacc0caa7b
commit cd67495c8b

View File

@ -814,7 +814,7 @@ class mail_ui
'child'=> (int)($acc_id != $_profileID || $folderObjects), // dynamic loading on unfold
'parent' => '',
// mark on account if Sieve is enabled
'data' => array('sieve' => $accountObj->acc_sieve_enabled),
'data' => array('sieve' => $accountObj->imapServer()->acc_sieve_enabled),
);
$this->setOutStructure($oA, $out, self::$delimiter);