diff options
author | Morris Jobke <hey@morrisjobke.de> | 2016-01-06 09:37:18 +0100 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2016-01-06 13:45:36 +0100 |
commit | 516a6d7441e6047c1e1f4d9a1acfb7dc943f72aa (patch) | |
tree | 6f184f206276bd958e73407ae677e414cb8489f4 /lib | |
parent | 12b0e9e3bdd6de2d35165a52072d534c7c2f5fc2 (diff) | |
download | nextcloud-server-516a6d7441e6047c1e1f4d9a1acfb7dc943f72aa.tar.gz nextcloud-server-516a6d7441e6047c1e1f4d9a1acfb7dc943f72aa.zip |
Remove unneeded check if htaccess test file already exists
* fixes #20199
Diffstat (limited to 'lib')
-rw-r--r-- | lib/private/util.php | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/private/util.php b/lib/private/util.php index c9738b29ca1..5a3347ee910 100644 --- a/lib/private/util.php +++ b/lib/private/util.php @@ -1215,10 +1215,6 @@ class OC_Util { // creating a test file $testFile = $config->getSystemValue('datadirectory', OC::$SERVERROOT . '/data') . '/' . $fileName; - if (file_exists($testFile)) {// already running this test, possible recursive call - return false; - } - $fp = @fopen($testFile, 'w'); if (!$fp) { throw new OC\HintException('Can\'t create test file to check for working .htaccess file.', |