Code Duplication    Length = 16-19 lines in 2 locations

lib/controller/accountscontroller.php 1 location

@@ 82-100 (lines=19) @@
79
	 * @param IL10N $l10n
80
	 * @param ICrypto $crypto
81
	 */
82
	public function __construct($appName,
83
		IRequest $request,
84
		AccountService $accountService,
85
		$UserId,
86
		$userFolder,
87
		AutoConfig $autoConfig,
88
		Logger $logger,
89
		IL10N $l10n,
90
		ICrypto $crypto
91
	) {
92
		parent::__construct($appName, $request);
93
		$this->accountService = $accountService;
94
		$this->currentUserId = $UserId;
95
		$this->userFolder = $userFolder;
96
		$this->autoConfig = $autoConfig;
97
		$this->logger = $logger;
98
		$this->l10n = $l10n;
99
		$this->crypto = $crypto;
100
	}
101
102
	/**
103
	 * @NoAdminRequired

lib/controller/messagescontroller.php 1 location

@@ 94-109 (lines=16) @@
91
	 * @param Logger $logger
92
	 * @param IL10N $l10n
93
	 */
94
	public function __construct($appName,
95
								IRequest $request,
96
								AccountService $accountService,
97
								$UserId,
98
								$userFolder,
99
								ContactsIntegration $contactsIntegration,
100
								Logger $logger,
101
								IL10N $l10n) {
102
		parent::__construct($appName, $request);
103
		$this->accountService = $accountService;
104
		$this->currentUserId = $UserId;
105
		$this->userFolder = $userFolder;
106
		$this->contactsIntegration = $contactsIntegration;
107
		$this->logger = $logger;
108
		$this->l10n = $l10n;
109
	}
110
111
	/**
112
	 * @NoAdminRequired