Skip to content

Commit

Permalink
Fix classname.
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Rubinsky committed Feb 24, 2014
1 parent 842f537 commit 76dd86d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion imp/config/prefs.php
Expand Up @@ -1177,7 +1177,7 @@
'desc' => _("Move deleted messages to your Trash mailbox instead of marking them as deleted in the current mailbox?"),
'on_change' => function() {
$GLOBALS['injector']->getInstance('IMP_Mailbox_SessionCache')
->expire(IMP_MailboxSessionCache::CACHE_SPECIALMBOXES);
->expire(IMP_Mailbox_SessionCache::CACHE_SPECIALMBOXES);
if ($GLOBALS['prefs']->getValue('use_trash') &&
!$GLOBALS['prefs']->getValue('trash_folder')) {
$GLOBALS['notification']->push(_("You have activated move to Trash but no Trash mailbox is defined. You will be unable to delete messages until you set a Trash mailbox in the preferences."), 'horde.warning');
Expand Down
2 changes: 1 addition & 1 deletion imp/lib/Imap.php
Expand Up @@ -742,7 +742,7 @@ public function __call($method, $params)

case 'setACL':
$injector->getInstance('IMP_Mailbox_SessionCache')->expire(
IMP_MailboxSessionCache::CACHE_ACL,
IMP_Mailbox_SessionCache::CACHE_ACL,
IMP_Mailbox::get($params[0])
);
break;
Expand Down
2 changes: 1 addition & 1 deletion imp/lib/Prefs/Identity.php
Expand Up @@ -533,7 +533,7 @@ public function setValue($key, $val, $identity = null)

case IMP_Mailbox::MBOX_SENT:
$GLOBALS['injector']->getInstance('IMP_Mailbox_SessionCache')
->expire(IMP_MailboxSessionCache::CACHE_SPECIALMBOXES);
->expire(IMP_Mailbox_SessionCache::CACHE_SPECIALMBOXES);
$val = IMP_Mailbox::prefTo($val);
break;
}
Expand Down

0 comments on commit 76dd86d

Please sign in to comment.