Code Duplication    Length = 7-8 lines in 2 locations

controller/noteapicontroller.php 1 location

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

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