Code Duplication    Length = 4-4 lines in 3 locations

lib/private/Archive/ZIP.php 1 location

@@ 214-217 (lines=4) @@
211
	 * write back temporary files
212
	 */
213
	public function writeBack($tmpFile) {
214
		if (isset(self::$tempFiles[$tmpFile])) {
215
			$this->addFile(self::$tempFiles[$tmpFile], $tmpFile);
216
			\unlink($tmpFile);
217
		}
218
	}
219
220
	/**

lib/private/Files/Storage/DAV.php 1 location

@@ 412-415 (lines=4) @@
409
	 * @param string $tmpFile
410
	 */
411
	public function writeBack($tmpFile) {
412
		if (isset(self::$tempFiles[$tmpFile])) {
413
			$this->uploadFile($tmpFile, self::$tempFiles[$tmpFile]);
414
			\unlink($tmpFile);
415
		}
416
	}
417
418
	/** {@inheritdoc} */

lib/private/Archive/TAR.php 1 location

@@ 372-375 (lines=4) @@
369
	 * write back temporary files
370
	 */
371
	public function writeBack($tmpFile) {
372
		if (isset(self::$tempFiles[$tmpFile])) {
373
			$this->addFile(self::$tempFiles[$tmpFile], $tmpFile);
374
			\unlink($tmpFile);
375
		}
376
	}
377
378
	/**