* @inheritDoc
*/
public function get($path) {
- $this->__call(__FUNCTION__, func_get_args());
+ return $this->__call(__FUNCTION__, func_get_args());
}
/**
});
$this->registerService('LazyRootFolder', function(Server $c) {
return new LazyRoot(function() use ($c) {
- return $c->getRootFolder();
+ return $c->query('RootFolder');
});
});
$this->registerService('UserManager', function (Server $c) {
* @return \OCP\Files\IRootFolder
*/
public function getRootFolder() {
- return $this->query('RootFolder');
+ return $this->query('LazyRootFolder');
}
/**