Code Duplication    Length = 6-6 lines in 2 locations

www/engine/System/Classes/Modules/Filemanager/Handler/Listview.php 1 location

@@ 181-186 (lines=6) @@
178
179
			# Handle form
180
181
			if ($upload || $this->form->handle(new Filemanager\Controller\Create($this->parent))) {
182
183
				$query = (('' !== $this->parent->path()) ? ('?parent=' . $this->parent->path()) : '');
184
185
				Request::redirect(INSTALL_PATH . '/admin/content/filemanager' . $query);
186
			}
187
188
			# Get index
189

www/engine/System/Classes/Modules/Filemanager/Utils/Handler.php 1 location

@@ 78-83 (lines=6) @@
75
76
			# Init entity
77
78
			if (!$this->entity->init(Request::get('name'))) {
79
80
				$query = (('' !== $this->parent->path()) ? ('?parent=' . $this->parent->path()) : '');
81
82
				Request::redirect(INSTALL_PATH . '/admin/content/filemanager' . $query);
83
			}
84
85
			# Handle ajax request
86