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