Code Duplication    Length = 7-8 lines in 2 locations

controller/pagecontroller.php 1 location

@@ 44-50 (lines=7) @@
41
	 * @param IConfig $settings
42
	 * @param string $UserId
43
	 */
44
	public function __construct($AppName, IRequest $request, $UserId,
45
								NotesService $notesService, IConfig $settings) {
46
		parent::__construct($AppName, $request);
47
		$this->notesService = $notesService;
48
		$this->userId = $UserId;
49
		$this->settings = $settings;
50
	}
51
52
	/**
53
	 * @NoAdminRequired

controller/notescontroller.php 1 location

@@ 43-50 (lines=8) @@
40
	 * @param IConfig $settings
41
	 * @param string $UserId
42
	 */
43
	public function __construct($AppName, IRequest $request,
44
								NotesService $service, IConfig $settings,
45
								$UserId) {
46
		parent::__construct($AppName, $request);
47
		$this->notesService = $service;
48
		$this->settings = $settings;
49
		$this->userId = $UserId;
50
	}
51
52
	/**
53
	 * @NoAdminRequired