Code Duplication    Length = 12-12 lines in 2 locations

apps/files_external/controller/ajaxcontroller.php 1 location

@@ 55-66 (lines=12) @@
52
	 * @param IUserSession $userSession
53
	 * @param IGroupManager $groupManager
54
	 */
55
	public function __construct($appName,
56
								IRequest $request,
57
								RSA $rsaMechanism,
58
								GlobalAuth $globalAuth,
59
								IUserSession $userSession,
60
								IGroupManager $groupManager) {
61
		parent::__construct($appName, $request);
62
		$this->rsaMechanism = $rsaMechanism;
63
		$this->globalAuth = $globalAuth;
64
		$this->userSession = $userSession;
65
		$this->groupManager = $groupManager;
66
	}
67
68
	/**
69
	 * @return array

settings/controller/groupscontroller.php 1 location

@@ 56-67 (lines=12) @@
53
	 * @param bool $isAdmin
54
	 * @param IL10N $l10n
55
	 */
56
	public function __construct($appName,
57
								IRequest $request,
58
								IGroupManager $groupManager,
59
								IUserSession $userSession,
60
								$isAdmin,
61
								IL10N $l10n) {
62
		parent::__construct($appName, $request);
63
		$this->groupManager = $groupManager;
64
		$this->userSession = $userSession;
65
		$this->isAdmin = $isAdmin;
66
		$this->l10n = $l10n;
67
	}
68
69
	/**
70
	 * @NoAdminRequired