From aedc2a5138e85c86bbfa0011273f2bdcd898be7a Mon Sep 17 00:00:00 2001 From: Michael M Slusarz Date: Mon, 30 Mar 2009 13:01:22 -0600 Subject: [PATCH] Remove unused parameter. --- imp/compose-mimp.php | 2 +- imp/compose.php | 2 +- imp/mailbox.php | 2 +- imp/message-mimp.php | 2 +- imp/message.php | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/imp/compose-mimp.php b/imp/compose-mimp.php index cbc9fede1..d2c72deec 100644 --- a/imp/compose-mimp.php +++ b/imp/compose-mimp.php @@ -60,7 +60,7 @@ if ($imp_imap->isReadOnly($sent_mail_folder)) { /* Determine if compose mode is disabled. */ $compose_disable = !empty($conf['hooks']['disable_compose']) && - Horde::callHook('_imp_hook_disable_compose', array(true), 'imp'); + Horde::callHook('_imp_hook_disable_compose', array(), 'imp'); /* Set the current time zone. */ NLS::setTimeZone(); diff --git a/imp/compose.php b/imp/compose.php index 59a7837ed..158d0e8e4 100644 --- a/imp/compose.php +++ b/imp/compose.php @@ -148,7 +148,7 @@ NLS::setTimeZone(); /* Determine if compose mode is disabled. */ $compose_disable = !empty($conf['hooks']['disable_compose']) && - Horde::callHook('_imp_hook_disable_compose', array(true), 'imp'); + Horde::callHook('_imp_hook_disable_compose', array(), 'imp'); /* Determine if mailboxes are readonly. */ $readonly_drafts = $readonly_sentmail = false; diff --git a/imp/mailbox.php b/imp/mailbox.php index 669870057..0c87bcc7a 100644 --- a/imp/mailbox.php +++ b/imp/mailbox.php @@ -573,7 +573,7 @@ if ($pageOb['msgcount']) { $a_template->set('whitelist', Horde::widget('#', _("Whitelist"), 'widget whitelistAction', '', '', _("_Whitelist"))); } - if (empty($conf['hooks']['disable_compose']) || !Horde::callHook('_imp_hook_disable_compose', array(false), 'imp')) { + if (empty($conf['hooks']['disable_compose']) || !Horde::callHook('_imp_hook_disable_compose', array(), 'imp')) { $a_template->set('forward', Horde::widget('#', _("Forward"), 'widget forwardAction', '', '', _("Fo_rward"))); } diff --git a/imp/message-mimp.php b/imp/message-mimp.php index 69c6fcc65..bf7f027cd 100644 --- a/imp/message-mimp.php +++ b/imp/message-mimp.php @@ -318,7 +318,7 @@ $compose_params = array( /* Add compose actions (Reply, Reply List, Reply All, Forward, Redirect). */ if (empty($conf['hooks']['disable_compose']) || - !Horde::callHook('_imp_hook_disable_compose', array(true), 'imp')) { + !Horde::callHook('_imp_hook_disable_compose', array(), 'imp')) { $items = array(IMP::composeLink(array(), array('a' => 'r') + $compose_params) => _("Reply")); if ($list_info['reply_list']) { diff --git a/imp/message.php b/imp/message.php index 806431efe..369592dde 100644 --- a/imp/message.php +++ b/imp/message.php @@ -500,7 +500,7 @@ if (!IMP::$printMode) { } $disable_compose = !empty($conf['hooks']['disable_compose']) && - Horde::callHook('_imp_hook_disable_compose', array(false), 'imp'); + Horde::callHook('_imp_hook_disable_compose', array(), 'imp'); if (!$disable_compose) { $a_template->set('reply', Horde::widget(IMP::composeLink(array(), array('actionID' => 'reply') + $compose_params), _("Reply"), 'widget hasmenu', '', '', _("_Reply"), true)); -- 2.11.0