Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/gallery.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Paroz <github@oparoz.com>2015-07-27 23:13:05 +0300
committerOlivier Paroz <github@oparoz.com>2015-07-27 23:13:05 +0300
commit5eef87ec8ccd2d444571c16bb49d0dab6ebb9a15 (patch)
tree07dd62ad86537355fc2debc8e9a52f8c6ab06e43 /environment
parentce4d186c54c27020a015af4fd091e609ba34e0af (diff)
Reduce complexity of ConfigService::getFeaturesList()
Diffstat (limited to 'environment')
-rw-r--r--environment/environment.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/environment/environment.php b/environment/environment.php
index a2f0c9e3..2cf642c0 100644
--- a/environment/environment.php
+++ b/environment/environment.php
@@ -230,7 +230,7 @@ class Environment {
public function getVirtualRootFolder() {
$rootFolder = $this->userFolder;
if (!empty($this->sharedNodeId)) {
- $node = $this->getResourceFromId($this->sharedNodeId);
+ $node = $this->getSharedNode();
if ($node->getType() === 'dir') {
$rootFolder = $node;
} else {