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

@@ 89-94 (lines=6) @@
86
87
			# Init entity
88
89
			if (!$this->entity->init(Request::get('name'))) {
90
91
				$query = (('' !== $this->parent->path()) ? ('?parent=' . $this->parent->path()) : '');
92
93
				Request::redirect(INSTALL_PATH . '/admin/content/filemanager' . $query);
94
			}
95
96
			# Create form
97