satisfy dependencies for files_external
This commit is contained in:
parent
57295ee35f
commit
1ebbcdcc96
|
@ -152,6 +152,10 @@ class DIContainer extends SimpleContainer implements IAppContainer {
|
|||
return $this->getServer()->getMountProviderCollection();
|
||||
});
|
||||
|
||||
$this->registerService('OCP\\Files\\Config\\IUserMountCache', function($c) {
|
||||
return $this->getServer()->getUserMountCache();
|
||||
});
|
||||
|
||||
$this->registerService('OCP\\Files\\IRootFolder', function($c) {
|
||||
return $this->getServer()->getRootFolder();
|
||||
});
|
||||
|
|
|
@ -1288,6 +1288,11 @@ class Server extends ServerContainer implements IServerContainer {
|
|||
return $this->query('MountManager');
|
||||
}
|
||||
|
||||
/** @return \OCP\Files\Config\IUserMountCache */
|
||||
function getUserMountCache() {
|
||||
return $this->query('UserMountCache');
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the MimeTypeDetector
|
||||
*
|
||||
|
|
Loading…
Reference in New Issue