Code Duplication    Length = 3-3 lines in 2 locations

src/Utils/FilesystemHelper.php 2 locations

@@ 180-182 (lines=3) @@
177
	 * @param string $dirName
178
	 */
179
	public function tripleMove($old, $new, $temp, $dirName){
180
		if ($this->fileExists($old . '/' . $dirName)){
181
			$this->move($old . '/' . $dirName, $temp . '/' . $dirName);
182
		}
183
		if ($this->fileExists($new . '/' . $dirName)){
184
			$this->move($new . '/' . $dirName, $old . '/' . $dirName);
185
		}
@@ 183-185 (lines=3) @@
180
		if ($this->fileExists($old . '/' . $dirName)){
181
			$this->move($old . '/' . $dirName, $temp . '/' . $dirName);
182
		}
183
		if ($this->fileExists($new . '/' . $dirName)){
184
			$this->move($new . '/' . $dirName, $old . '/' . $dirName);
185
		}
186
	}
187
188
}