summaryrefslogtreecommitdiffstats
path: root/lib/private
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2016-01-08 15:53:16 +0100
committerThomas Müller <thomas.mueller@tmit.eu>2016-01-08 15:53:16 +0100
commite60dddf57da8454be3f9be414edfb669deb7149e (patch)
tree1a3a168e0bcf8e6c38f7efeed91746c1efa93ee0 /lib/private
parent427dbdabbac4c2f476c991acddcfd56c2f47cce8 (diff)
parent516a6d7441e6047c1e1f4d9a1acfb7dc943f72aa (diff)
downloadnextcloud-server-e60dddf57da8454be3f9be414edfb669deb7149e.tar.gz
nextcloud-server-e60dddf57da8454be3f9be414edfb669deb7149e.zip
Merge pull request #21479 from owncloud/fix-broken-state-in-htaccess-test
Remove unneeded check if htaccess test file already exists
Diffstat (limited to 'lib/private')
-rw-r--r--lib/private/util.php4
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/private/util.php b/lib/private/util.php
index 33521429be7..ecb18946f12 100644
--- a/lib/private/util.php
+++ b/lib/private/util.php
@@ -1201,10 +1201,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.',