summaryrefslogtreecommitdiff
path: root/program/lib/Roundcube/rcube_vcard.php
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2014-11-16 14:04:53 +0100
committerAleksander Machniak <alec@alec.pl>2014-11-16 14:04:53 +0100
commit9e4246d9571481fe7b80227b1e23dc013771c5af (patch)
treea051a22d8ecda4a648adcfe11504648f57f60e2a /program/lib/Roundcube/rcube_vcard.php
parent07280e764357fe844c18beb9ada772956735b49e (diff)
Code improvements and fixes (mostly unused variables and methods)
Diffstat (limited to 'program/lib/Roundcube/rcube_vcard.php')
-rw-r--r--program/lib/Roundcube/rcube_vcard.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/program/lib/Roundcube/rcube_vcard.php b/program/lib/Roundcube/rcube_vcard.php
index 96add110f..7f6b11851 100644
--- a/program/lib/Roundcube/rcube_vcard.php
+++ b/program/lib/Roundcube/rcube_vcard.php
@@ -414,9 +414,10 @@ class rcube_vcard
* Find index with the '$type' attribute
*
* @param string Field name
+ *
* @return int Field index having $type set
*/
- private function get_type_index($field, $type = 'pref')
+ private function get_type_index($field)
{
$result = 0;
if ($this->raw[$field]) {