diff options
author | Julius Härtl <jus@bitgrid.net> | 2020-01-16 18:42:42 +0100 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2020-01-16 22:07:51 +0100 |
commit | fa966ebaf1f6584b927c75f3410af29885743c48 (patch) | |
tree | 2f85de669a59257d16083be1dc0916b341cd0587 /apps/files_sharing/lib/AppInfo | |
parent | cf771c5816a1ab491610319c4cdb62c60b6a2040 (diff) | |
download | nextcloud-server-fa966ebaf1f6584b927c75f3410af29885743c48.tar.gz nextcloud-server-fa966ebaf1f6584b927c75f3410af29885743c48.zip |
Remove global share accepter since auto-accepting is the default
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'apps/files_sharing/lib/AppInfo')
-rw-r--r-- | apps/files_sharing/lib/AppInfo/Application.php | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/apps/files_sharing/lib/AppInfo/Application.php b/apps/files_sharing/lib/AppInfo/Application.php index af80b85f224..d8019cba240 100644 --- a/apps/files_sharing/lib/AppInfo/Application.php +++ b/apps/files_sharing/lib/AppInfo/Application.php @@ -214,7 +214,6 @@ class Application extends App { $dispatcher->addListener('\OCP\Collaboration\Resources::loadAdditionalScripts', function() { \OCP\Util::addScript('files_sharing', 'dist/collaboration'); }); - $dispatcher->addServiceListener(ShareCreatedEvent::class, GlobalShareAcceptanceListener::class); $dispatcher->addServiceListener(ShareCreatedEvent::class, UserShareAcceptanceListener::class); // notifications api to accept incoming user shares |