summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorThomas Tanghus <thomas@tanghus.net>2012-08-23 02:28:11 +0200
committerThomas Tanghus <thomas@tanghus.net>2012-08-23 05:02:30 +0200
commit6941266e7b01350daa35f7633ff5ab66d4e6b9e9 (patch)
tree79c6a2806c39e262474fd0a8a568a437b61423d6 /apps
parent082ed4ab71bb0e97ed7a0b062d9fc124d040df6b (diff)
downloadnextcloud-server-6941266e7b01350daa35f7633ff5ab66d4e6b9e9.tar.gz
nextcloud-server-6941266e7b01350daa35f7633ff5ab66d4e6b9e9.zip
Remove obsolete closure.
Diffstat (limited to 'apps')
-rw-r--r--apps/contacts/lib/vcard.php13
1 files changed, 0 insertions, 13 deletions
diff --git a/apps/contacts/lib/vcard.php b/apps/contacts/lib/vcard.php
index a349449a99f..5aa3dd85ede 100644
--- a/apps/contacts/lib/vcard.php
+++ b/apps/contacts/lib/vcard.php
@@ -560,19 +560,6 @@ class OC_Contacts_VCard{
public static function structureContact($object) {
$details = array();
- $addIM = function($name, $temp, &$details) {
- if(!array_key_exists('IMPP', $details)) {
- $details['IMPP'] = array();
- }
-
- foreach($details['IMPP'] as $im) {
- if(strtolower($im['value']) == strtolower($temp['value']) && $im['name'] == $name) {
- return;
- }
- }
- $details['IMPP'][] = $temp;
- };
-
foreach($object->children as $property) {
$pname = $property->name;
$temp = self::structureProperty($property);