Code Duplication    Length = 11-11 lines in 2 locations

admin/code/SecurityAdmin.php 2 locations

@@ 234-244 (lines=11) @@
231
		return $form;
232
	}
233
234
	public function memberimport() {
235
		Requirements::clear();
236
		Requirements::javascript(FRAMEWORK_ADMIN_DIR . '/client/dist/js/bundle-lib.js');
237
		Requirements::javascript(FRAMEWORK_ADMIN_DIR . '/client/dist/js/MemberImportForm.js');
238
		Requirements::css(FRAMEWORK_ADMIN_DIR . '/client/dist/styles/bundle.css');
239
240
		return $this->renderWith('BlankPage', array(
241
			'Form' => $this->MemberImportForm()->forTemplate(),
242
			'Content' => ' '
243
		));
244
	}
245
246
	/**
247
	 * @see SecurityAdmin_MemberImportForm
@@ 268-278 (lines=11) @@
265
		return $form;
266
	}
267
268
	public function groupimport() {
269
		Requirements::clear();
270
		Requirements::javascript(FRAMEWORK_ADMIN_DIR . '/client/dist/js/bundle-lib.js');
271
		Requirements::javascript(FRAMEWORK_ADMIN_DIR . '/client/dist/js/MemberImportForm.js');
272
		Requirements::css(FRAMEWORK_ADMIN_DIR . '/client/dist/styles/bundle.css');
273
274
		return $this->renderWith('BlankPage', array(
275
			'Content' => ' ',
276
			'Form' => $this->GroupImportForm()->forTemplate()
277
		));
278
	}
279
280
	/**
281
	 * @see SecurityAdmin_MemberImportForm