diff options
author | Julius Härtl <jus@bitgrid.net> | 2019-11-25 14:09:38 +0100 |
---|---|---|
committer | Julius Härtl <jus@bitgrid.net> | 2019-11-27 19:56:40 +0100 |
commit | 9a2694fcb0093afee13d0cd91de15b34b747cc62 (patch) | |
tree | e8a448a61ed62ee47cd997c0d3a4065f472c100d /lib/private/DirectEditing | |
parent | bc36cc808fb9ed9ff22c42246fe68f06cedb902e (diff) | |
download | nextcloud-server-9a2694fcb0093afee13d0cd91de15b34b747cc62.tar.gz nextcloud-server-9a2694fcb0093afee13d0cd91de15b34b747cc62.zip |
Code style fixes and cleanup
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'lib/private/DirectEditing')
-rw-r--r-- | lib/private/DirectEditing/Manager.php | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/private/DirectEditing/Manager.php b/lib/private/DirectEditing/Manager.php index fdf0a1f0f0f..26adad9e572 100644 --- a/lib/private/DirectEditing/Manager.php +++ b/lib/private/DirectEditing/Manager.php @@ -64,15 +64,12 @@ class Manager implements IManager { ISecureRandom $random, IDBConnection $connection, IUserSession $userSession, - IRootFolder $rootFolder, - IEventDispatcher $eventDispatcher + IRootFolder $rootFolder ) { $this->random = $random; $this->connection = $connection; $this->userId = $userSession->getUser() ? $userSession->getUser()->getUID() : null; $this->rootFolder = $rootFolder; - $eventDispatcher->dispatch(RegisterDirectEditorEvent::class, new RegisterDirectEditorEvent($this)); - } public function registerDirectEditor(IEditor $directEditor): void { |