mirror of
https://github.com/nextcloud/server.git
synced 2026-04-23 23:27:46 -04:00
Remove obsolete closure.
This commit is contained in:
parent
082ed4ab71
commit
6941266e7b
1 changed files with 0 additions and 13 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue