summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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.',