Code Duplication    Length = 3-3 lines in 2 locations

src/Utils/FilesystemHelper.php 2 locations

@@ 189-191 (lines=3) @@
186
	 * @param string $dirName
187
	 */
188
	public function tripleMove($old, $new, $temp, $dirName){
189
		if ($this->fileExists($old . '/' . $dirName)){
190
			$this->move($old . '/' . $dirName, $temp . '/' . $dirName);
191
		}
192
		if ($this->fileExists($new . '/' . $dirName)){
193
			$this->move($new . '/' . $dirName, $old . '/' . $dirName);
194
		}
@@ 192-194 (lines=3) @@
189
		if ($this->fileExists($old . '/' . $dirName)){
190
			$this->move($old . '/' . $dirName, $temp . '/' . $dirName);
191
		}
192
		if ($this->fileExists($new . '/' . $dirName)){
193
			$this->move($new . '/' . $dirName, $old . '/' . $dirName);
194
		}
195
	}
196
197
}