1
0
mirror of https://github.com/owncloudarchive/contacts.git synced 2024-12-01 13:24:10 +01:00

Remove obsolete closure.

This commit is contained in:
Thomas Tanghus 2012-08-23 02:28:11 +02:00
parent b2ed6a891d
commit 2de53a5210

View File

@ -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);