mirror of
https://github.com/owncloudarchive/contacts.git
synced 2024-12-01 13:24:10 +01:00
scrutinizer told me not to use spaces for indent, tabs only
so I did
This commit is contained in:
parent
c4c1a1fa6b
commit
6032ec2e1e
@ -62,7 +62,7 @@ abstract class ImportConnector {
|
||||
if (isset($property) && isset($importEntry) && isset($value)) {
|
||||
if (isset($importEntry->vcard_entry)) {
|
||||
if (isset($importEntry->vcard_entry['type'])) {
|
||||
$property->add('TYPE', StringUtil::convertToUTF8($importEntry->vcard_entry['type']));
|
||||
$property->add('TYPE', StringUtil::convertToUTF8($importEntry->vcard_entry['type']));
|
||||
}
|
||||
if (isset($importEntry->vcard_entry->additional_property)) {
|
||||
foreach ($importEntry->vcard_entry->additional_property as $additionalProperty) {
|
||||
@ -95,7 +95,7 @@ abstract class ImportConnector {
|
||||
}
|
||||
}
|
||||
if (isset($importEntry->vcard_parameter)) {
|
||||
$property->add($importEntry->vcard_parameter['parameter'], StringUtil::convertToUTF8($value));
|
||||
$property->add($importEntry->vcard_parameter['parameter'], StringUtil::convertToUTF8($value));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -168,7 +168,7 @@ class ImportCsvConnector extends ImportConnector {
|
||||
}
|
||||
} else if (isset($element[$i]) && isset($title[$i])) {
|
||||
$property = $vcard->createProperty("X-Unknown-Element", StringUtil::convertToUTF8($element[$i]));
|
||||
$property->add('TYPE', StringUtil::convertToUTF8($title[$i]));
|
||||
$property->add('TYPE', StringUtil::convertToUTF8($title[$i]));
|
||||
$vcard->add($property);
|
||||
}
|
||||
}
|
||||
|
@ -136,7 +136,7 @@ class ImportLdifConnector extends ImportConnector{
|
||||
}
|
||||
} else {
|
||||
$property = $dest->createProperty("X-Unknown-Element", ''.StringUtil::convertToUTF8($ldifProperty[1]));
|
||||
$property->add('TYPE', StringUtil::convertToUTF8($ldifProperty[0]));
|
||||
$property->add('TYPE', StringUtil::convertToUTF8($ldifProperty[0]));
|
||||
$dest->add($property);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user