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 10:04:41 +00:00
parent cc0aad2d6b
commit cbf4051ef3

View File

@ -822,7 +822,7 @@ class mail_ui
'child'=> (int)($acc_id != $_profileID || $folderObjects), // dynamic loading on unfold 'child'=> (int)($acc_id != $_profileID || $folderObjects), // dynamic loading on unfold
'parent' => '', 'parent' => '',
// mark on account if Sieve is enabled // 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); $this->setOutStructure($oA, $out, self::$delimiter);