satisfy dependencies for files_external

This commit is contained in:
Arthur Schiwon 2016-08-15 13:38:02 +02:00
parent 8188bb4509
commit 75a73a5a73
No known key found for this signature in database
GPG Key ID: 7424F1874854DF23
2 changed files with 9 additions and 0 deletions

View File

@ -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();
});

View File

@ -1289,6 +1289,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
*