File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change 8686use OC \Federation \CloudFederationFactory ;
8787use OC \Federation \CloudFederationProviderManager ;
8888use OC \Federation \CloudIdManager ;
89+ use OC \Files \Cache \FileAccess ;
8990use OC \Files \Config \MountProviderCollection ;
9091use OC \Files \Config \UserMountCache ;
9192use OC \Files \Config \UserMountCacheListener ;
195196use OCP \Federation \ICloudFederationFactory ;
196197use OCP \Federation \ICloudFederationProviderManager ;
197198use OCP \Federation \ICloudIdManager ;
199+ use OCP \Files \Cache \IFileAccess ;
198200use OCP \Files \Config \IMountProviderCollection ;
199201use OCP \Files \Config \IUserMountCache ;
200202use OCP \Files \IMimeTypeDetector ;
@@ -450,6 +452,7 @@ public function __construct($webRoot, \OC\Config $config) {
450452 $ this ->registerService (ISystemTagObjectMapper::class, function (ContainerInterface $ c ) {
451453 return $ c ->get ('SystemTagManagerFactory ' )->getObjectMapper ();
452454 });
455+ $ this ->registerAlias (IFileAccess::class, FileAccess::class);
453456 $ this ->registerService ('RootFolder ' , function (ContainerInterface $ c ) {
454457 $ manager = \OC \Files \Filesystem::getMountManager ();
455458 $ view = new View ();
You can’t perform that action at this time.
0 commit comments