Code Duplication    Length = 4-4 lines in 2 locations

src/Utils/FilesystemHelper.php 2 locations

@@ 224-227 (lines=4) @@
221
	 * @param string $dirName
222
	 */
223
	public function tripleMove($old, $new, $temp, $dirName){
224
		if ($this->fileExists($old . '/' . $dirName)){
225
			$this->copyr($old . '/' . $dirName, $temp . '/' . $dirName, false);
226
			$this->rmdirr($old . '/' . $dirName);
227
		}
228
		if ($this->fileExists($new . '/' . $dirName)){
229
			$this->copyr($new . '/' . $dirName, $old . '/' . $dirName, false);
230
			$this->rmdirr($new . '/' . $dirName);
@@ 228-231 (lines=4) @@
225
			$this->copyr($old . '/' . $dirName, $temp . '/' . $dirName, false);
226
			$this->rmdirr($old . '/' . $dirName);
227
		}
228
		if ($this->fileExists($new . '/' . $dirName)){
229
			$this->copyr($new . '/' . $dirName, $old . '/' . $dirName, false);
230
			$this->rmdirr($new . '/' . $dirName);
231
		}
232
	}
233
234
}