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

@@ 78-93 (lines=16) @@
75
	 * @param Logger $logger
76
	 * @param IL10N $l10n
77
	 */
78
	public function __construct($appName,
79
								IRequest $request,
80
								AccountService $accountService,
81
								$UserId,
82
								$userFolder,
83
								ContactsIntegration $contactsIntegration,
84
								Logger $logger,
85
								IL10N $l10n) {
86
		parent::__construct($appName, $request);
87
		$this->accountService = $accountService;
88
		$this->currentUserId = $UserId;
89
		$this->userFolder = $userFolder;
90
		$this->contactsIntegration = $contactsIntegration;
91
		$this->logger = $logger;
92
		$this->l10n = $l10n;
93
	}
94
95
	/**
96
	 * @NoAdminRequired