Code Duplication    Length = 8-8 lines in 2 locations

lib/connector/importldifconnector.php 2 locations

@@ 161-168 (lines=8) @@
158
				if (strcasecmp((string)$vcardFavourite, trim($value)) == 0) {
159
					$property = $dest->createProperty("X-FAVOURITES", 'yes');
160
					$dest->add($property);
161
				} else {
162
					$property = $this->getOrCreateVCardProperty($dest, $importEntry->vcard_entry);
163
					if (isset($importEntry['image']) && $importEntry['image'] == "true") {
164
						$this->updateImageProperty($property, $value);
165
					} else {
166
						$this->updateProperty($property, $importEntry, $value);
167
					}
168
				}
169
			}
170
		} else {
171
			$property = $this->getOrCreateVCardProperty($dest, $importEntry->vcard_entry);
@@ 170-177 (lines=8) @@
167
					}
168
				}
169
			}
170
		} else {
171
			$property = $this->getOrCreateVCardProperty($dest, $importEntry->vcard_entry);
172
			if (isset($importEntry['image']) && $importEntry['image'] == "true") {
173
				$this->updateImageProperty($property, $value);
174
			} else {
175
				$this->updateProperty($property, $importEntry, $value);
176
			}
177
		}
178
	}
179
	
180
	/**