Fix: set_mailbox() does not exist in Roundcube 1.2, use set_folder()
This commit is contained in:
parent
fe21650430
commit
b01cfae47a
3 changed files with 5 additions and 5 deletions
|
@ -3106,7 +3106,7 @@ class calendar extends rcube_plugin
|
|||
|
||||
// establish imap connection
|
||||
$imap = $this->rc->get_storage();
|
||||
$imap->set_mailbox($mbox);
|
||||
$imap->set_folder($mbox);
|
||||
|
||||
if ($uid && $mime_id) {
|
||||
$part = $imap->get_message_part($uid, $mime_id);
|
||||
|
@ -3166,7 +3166,7 @@ class calendar extends rcube_plugin
|
|||
|
||||
// establish imap connection
|
||||
$imap = $this->rc->get_storage();
|
||||
$imap->set_mailbox($mbox);
|
||||
$imap->set_folder($mbox);
|
||||
$message = new rcube_message($uid);
|
||||
|
||||
if ($message->headers) {
|
||||
|
|
|
@ -1388,7 +1388,7 @@ class libcalendaring extends rcube_plugin
|
|||
|
||||
// establish imap connection
|
||||
$imap = $this->rc->get_storage();
|
||||
$imap->set_mailbox($mbox);
|
||||
$imap->set_folder($mbox);
|
||||
|
||||
if ($uid && $mime_id) {
|
||||
list($mime_id, $index) = explode(':', $mime_id);
|
||||
|
|
|
@ -1563,7 +1563,7 @@ class tasklist extends rcube_plugin
|
|||
|
||||
// establish imap connection
|
||||
$imap = $this->rc->get_storage();
|
||||
$imap->set_mailbox($mbox);
|
||||
$imap->set_folder($mbox);
|
||||
$message = new rcube_message($uid);
|
||||
|
||||
if ($message->headers) {
|
||||
|
@ -1789,7 +1789,7 @@ class tasklist extends rcube_plugin
|
|||
|
||||
// establish imap connection
|
||||
$imap = $this->rc->get_storage();
|
||||
$imap->set_mailbox($mbox);
|
||||
$imap->set_folder($mbox);
|
||||
|
||||
if ($uid && $mime_id) {
|
||||
$part = $imap->get_message_part($uid, $mime_id);
|
||||
|
|
Loading…
Add table
Reference in a new issue