Merge pull request #29211 from nextcloud/fix/shadowed-config-var

Remove shadowed $config variable
This commit is contained in:
Christoph Wurst 2021-10-13 15:07:51 +02:00 committed by GitHub
commit c9918477ab
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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();