aboutsummaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2021-10-13 13:03:40 +0200
committerChristoph Wurst <christoph@winzerhof-wurst.at>2021-10-13 13:03:40 +0200
commit30c3202f49c5a62d136f08f6069dd87db2af1ce7 (patch)
tree5ae91ed28542fefd43739901fda32e6a7bfb5e38 /apps
parentb585cf1ea1baeb7bbfaf22953e48bbd33e8381fa (diff)
downloadnextcloud-server-30c3202f49c5a62d136f08f6069dd87db2af1ce7.tar.gz
nextcloud-server-30c3202f49c5a62d136f08f6069dd87db2af1ce7.zip
Remove shadowed $config variable
The variable is overwritten a few lines later. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'apps')
-rw-r--r--apps/dav/lib/RootCollection.php1
1 files changed, 0 insertions, 1 deletions
diff --git a/apps/dav/lib/RootCollection.php b/apps/dav/lib/RootCollection.php
index 8d921414d51..d307b5d2488 100644
--- a/apps/dav/lib/RootCollection.php
+++ b/apps/dav/lib/RootCollection.php
@@ -51,7 +51,6 @@ use Sabre\DAV\SimpleCollection;
class RootCollection extends SimpleCollection {
public function __construct() {
- $config = \OC::$server->getConfig();
$l10n = \OC::$server->getL10N('dav');
$random = \OC::$server->getSecureRandom();
$logger = \OC::$server->getLogger();