Skip to content

Commit

Permalink
Use Horde_Registry#hasLink() (Bug #13175)
Browse files Browse the repository at this point in the history
  • Loading branch information
slusarz committed May 14, 2014
1 parent 153f277 commit b4e7708
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion imp/lib/Dynamic/Base.php
Expand Up @@ -165,7 +165,7 @@ protected function _addBaseVars()
)
);

if ($registry->hasInterface('mail/newEmailFilter')) {
if ($registry->hasLink('mail/newEmailFilter')) {
$context['ctx_contacts']['addfilter'] = _("Create Filter");
}

Expand Down
2 changes: 1 addition & 1 deletion imp/lib/Dynamic/Mailbox.php
Expand Up @@ -336,7 +336,7 @@ protected function _addMailboxVars()
if (empty($imp_imap->config->innocent_params)) {
unset($context['ctx_message']['innocent']);
}
if (!$registry->hasInterface('mail/newEmailFilter')) {
if (!$registry->hasLink('mail/newEmailFilter')) {
unset($context['ctx_message']['addfilter']);
}
if ($prefs->getValue('use_trash')) {
Expand Down

0 comments on commit b4e7708

Please sign in to comment.