Code Duplication    Length = 7-8 lines in 2 locations

controller/notebookapicontroller.php 1 location

@@ 45-51 (lines=7) @@
42
	private $notebookService;
43
	private $userManager;
44
45
	public function __construct($appName, IRequest $request,
46
								ILogger $logger, IConfig $config, NotebookService $notebookService, IUserManager $userManager) {
47
		parent::__construct($appName, $request);
48
		$this->config = $config;
49
		$this->notebookService = $notebookService;
50
		$this->userManager = $userManager;
51
	}
52
53
	/**
54
	 * @NoAdminRequired

controller/noteapicontroller.php 1 location

@@ 49-56 (lines=8) @@
46
	private $userManager;
47
	private $notebookService;
48
49
	public function __construct($appName, IRequest $request,
50
								ILogger $logger, IConfig $config, NoteService $noteService, NotebookService $groupService,IUserManager $userManager) {
51
		parent::__construct($appName, $request);
52
		$this->config = $config;
53
		$this->noteService = $noteService;
54
		$this->notebookService = $groupService;
55
		$this->userManager = $userManager;
56
	}
57
58
	/**
59
	 * @NoAdminRequired