]> source.dussan.org Git - nextcloud-server.git/commitdiff
Update Config.php
authorJohn Molakvoæ <skjnldsv@users.noreply.github.com>
Sat, 28 Mar 2020 15:16:41 +0000 (16:16 +0100)
committerGitHub <noreply@github.com>
Sat, 28 Mar 2020 15:16:41 +0000 (16:16 +0100)
lib/private/Config.php

index 5366cd295d41b3a73c3537fd5f963a5c1875643c..4b813dfcf217e658b0eeb600e5aa6fa9688b5657 100644 (file)
@@ -246,12 +246,9 @@ class Config {
 
                // File does not exist, this can happen when doing a fresh install
                if(!is_resource ($filePointer)) {
-                       // TODO fix this via DI once it is very clear that this doesn't cause side effects due to initialization order
-                       // currently this breaks app routes but also could have other side effects especially during setup and exception handling
-                       $url = \OC::$server->getURLGenerator()->linkToDocs('admin-dir_permissions');
                        throw new HintException(
                                "Can't write into config directory!",
-                               'This can usually be fixed by giving the webserver write access to the config directory. See ' . $url);
+                               'This can usually be fixed by giving the webserver write access to the config directory.');
                }
 
                // Try to acquire a file lock