From: Michael M Slusarz Date: Fri, 19 Feb 2010 17:50:24 +0000 (-0700) Subject: phpdoc; consolidate code X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=3fbcfa1470456ae05074ec1d7e5bd3882cdc3be1;p=horde.git phpdoc; consolidate code --- diff --git a/imp/lib/Views/ShowMessage.php b/imp/lib/Views/ShowMessage.php index a07c913dd..e654c5a50 100644 --- a/imp/lib/Views/ShowMessage.php +++ b/imp/lib/Views/ShowMessage.php @@ -18,7 +18,6 @@ class IMP_Views_ShowMessage * Horde_Mime_Address::parseAddressList(). * * @return array Array with the following keys: inner, personal, raw. - * @throws Horde_Exception */ private function _buildAddressList($addrlist) { @@ -31,14 +30,14 @@ class IMP_Views_ShowMessage foreach (Horde_Mime_Address::getAddressesFromObject($addrlist) as $ob) { if (!empty($ob['inner'])) { try { - $addr_array[] = array('raw' => Horde::callHook('dimp_addressformatting', array($ob), 'imp')); + $tmp = array('raw' => Horde::callHook('dimp_addressformatting', array($ob), 'imp')); } catch (Horde_Exception_HookNotSet $e) { $tmp = array('inner' => $ob['inner']); if (!empty($ob['personal'])) { $tmp['personal'] = $ob['personal']; } - $addr_array[] = $tmp; } + $addr_array[] = $tmp; } } @@ -87,7 +86,6 @@ class IMP_Views_ShowMessage * 'save_as' - The save link * 'title' - The title of the page * - * @throws Horde_Exception */ public function showMessage($args) {