File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1111use ArrayIterator ;
1212use OC \Core \AppInfo \ConfigLexicon ;
1313use OC \Files \Filesystem ;
14- use OC \Files \SetupManager ;
1514use OC \KnownUser \KnownUserService ;
1615use OC \Share \Constants as ShareConstants ;
1716use OC \Share20 \Exception \ProviderException ;
4645use OCP \Security \IHasher ;
4746use OCP \Security \ISecureRandom ;
4847use OCP \Security \PasswordContext ;
49- use OCP \Server ;
5048use OCP \Share ;
5149use OCP \Share \Events \BeforeShareCreatedEvent ;
5250use OCP \Share \Events \BeforeShareDeletedEvent ;
@@ -103,12 +101,6 @@ public function __construct(
103101 // The constructor of LegacyHooks registers the listeners of share events
104102 // do not remove if those are not properly migrated
105103 $ this ->legacyHooks = new LegacyHooks ($ this ->dispatcher );
106-
107- $ user = $ this ->userSession ->getUser ();
108- if ($ user !== null ) {
109- // The VerifyMountPointEvent is required for Talk and Deck, so an explicit FS setup is required for sharing.
110- Server::get (SetupManager::class)->setupForUser ($ user );
111- }
112104 }
113105
114106 /**
You can’t perform that action at this time.
0 commit comments