aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/legacy
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2016-12-05 17:09:23 +0100
committerMorris Jobke <hey@morrisjobke.de>2016-12-05 23:35:35 +0100
commita2867c066453ef5d94638566efee5b263f7bf345 (patch)
tree06c67d18dcd87d8389308f6aea9ed2b1e0dbc904 /lib/private/legacy
parentefa9ac1230b59eae4f3f508d8e986ee1af2460da (diff)
downloadnextcloud-server-a2867c066453ef5d94638566efee5b263f7bf345.tar.gz
nextcloud-server-a2867c066453ef5d94638566efee5b263f7bf345.zip
Properly check the data dir
* fixes #1364 Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'lib/private/legacy')
-rw-r--r--lib/private/legacy/util.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/private/legacy/util.php b/lib/private/legacy/util.php
index eaa82ec8701..55dc5ae7c15 100644
--- a/lib/private/legacy/util.php
+++ b/lib/private/legacy/util.php
@@ -1169,6 +1169,8 @@ class OC_Util {
}
fwrite($fp, $testContent);
fclose($fp);
+
+ return $testContent;
}
/**