Remove Kolab's hack for Cyrus Murder bug in SETANNOTATION - it's not needed anymore

pull/271/head
Aleksander Machniak 9 years ago
parent 64d79b82aa
commit 5a4f3f8266

@ -48,8 +48,6 @@ class rcube_imap_generic
'*' => '\\*',
);
public static $mupdate;
protected $fp;
protected $host;
protected $logged = false;
@ -3271,11 +3269,6 @@ class rcube_imap_generic
}
foreach ($data as $entry) {
// Workaround cyrus-murder bug, the entry[2] string needs to be escaped
if (self::$mupdate) {
$entry[2] = addcslashes($entry[2], '\\"');
}
// ANNOTATEMORE drafts before version 08 require quoted parameters
$entries[] = sprintf('%s (%s %s)', $this->escape($entry[0], true),
$this->escape($entry[1], true), $this->escape($entry[2], true));
@ -3840,10 +3833,6 @@ class rcube_imap_generic
$this->prefs['literal+'] = true;
}
if (preg_match('/(\[| )MUPDATE=.*/', $str)) {
self::$mupdate = true;
}
if ($trusted) {
$this->capability_readed = true;
}

Loading…
Cancel
Save