mirror of
https://github.com/nextcloud/server.git
synced 2026-06-10 01:00:50 -04:00
Merge pull request #8324 from owncloud/expired-link-error
Fix error when viewing expired link
This commit is contained in:
commit
c8801a41d8
1 changed files with 3 additions and 0 deletions
|
|
@ -374,6 +374,9 @@ class Filesystem {
|
|||
* Returns path like /admin/files
|
||||
*/
|
||||
static public function getRoot() {
|
||||
if (!self::$defaultInstance) {
|
||||
return null;
|
||||
}
|
||||
return self::$defaultInstance->getRoot();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue