diff options
author | Aleksander Machniak <alec@alec.pl> | 2013-05-07 15:12:22 +0200 |
---|---|---|
committer | Aleksander Machniak <alec@alec.pl> | 2013-05-07 15:12:22 +0200 |
commit | 3725cfb245bfae3a77baf857ea5403e8064b84b9 (patch) | |
tree | 91a918c017e5c351d6175e9c416c702b08007dac /program/steps/addressbook/show.inc | |
parent | 2193f6a1301edcb62de6f0cf338acccdbf5ec2f1 (diff) |
Avoid uninitialized/unused variables
Diffstat (limited to 'program/steps/addressbook/show.inc')
-rw-r--r-- | program/steps/addressbook/show.inc | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/program/steps/addressbook/show.inc b/program/steps/addressbook/show.inc index d583a6d36..1a97c65b1 100644 --- a/program/steps/addressbook/show.inc +++ b/program/steps/addressbook/show.inc @@ -101,8 +101,6 @@ function rcmail_contact_head($attrib) return false; } - $microformats = array('name' => 'fn', 'email' => 'email'); - $form = array( 'head' => array( // section 'head' is magic! 'content' => array( @@ -177,7 +175,7 @@ function rcmail_contact_details($attrib) } -function rcmail_render_email_value($email, $col) +function rcmail_render_email_value($email) { return html::a(array( 'href' => 'mailto:' . $email, @@ -188,7 +186,7 @@ function rcmail_render_email_value($email, $col) } -function rcmail_render_url_value($url, $col) +function rcmail_render_url_value($url) { $prefix = preg_match('!^(http|ftp)s?://!', $url) ? '' : 'http://'; return html::a(array( |