Code Duplication    Length = 4-4 lines in 2 locations

src/Utils/FilesystemHelper.php 2 locations

@@ 215-218 (lines=4) @@
212
	 * @param string $dirName
213
	 */
214
	public function tripleMove($old, $new, $temp, $dirName){
215
		if ($this->fileExists($old . '/' . $dirName)){
216
			$this->copyr($old . '/' . $dirName, $temp . '/' . $dirName, false);
217
			$this->rmdirr($old . '/' . $dirName);
218
		}
219
		if ($this->fileExists($new . '/' . $dirName)){
220
			$this->copyr($new . '/' . $dirName, $old . '/' . $dirName, false);
221
			$this->rmdirr($new . '/' . $dirName);
@@ 219-222 (lines=4) @@
216
			$this->copyr($old . '/' . $dirName, $temp . '/' . $dirName, false);
217
			$this->rmdirr($old . '/' . $dirName);
218
		}
219
		if ($this->fileExists($new . '/' . $dirName)){
220
			$this->copyr($new . '/' . $dirName, $old . '/' . $dirName, false);
221
			$this->rmdirr($new . '/' . $dirName);
222
		}
223
	}
224
225
}