aboutsummaryrefslogtreecommitdiffstats
path: root/lib/files
diff options
context:
space:
mode:
authorkondou <kondou@ts.unde.re>2013-08-31 12:56:36 +0200
committerkondou <kondou@ts.unde.re>2013-08-31 12:56:36 +0200
commit5d653753bd8f6f1294dfbfa112757e5509ddc80d (patch)
tree54853c3cf28f4d3ec58d7f9230be68e8e70d4998 /lib/files
parent30526ded803e352f3f7322ed96ebc480d5e3f9c1 (diff)
parent92e90c8eb995c886b3e9cd77c14e3f0b25b95cd7 (diff)
downloadnextcloud-server-5d653753bd8f6f1294dfbfa112757e5509ddc80d.tar.gz
nextcloud-server-5d653753bd8f6f1294dfbfa112757e5509ddc80d.zip
Merge branch 'master' into oc_avatars
Diffstat (limited to 'lib/files')
-rw-r--r--lib/files/view.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/files/view.php b/lib/files/view.php
index bb737f19ef8..8aee12bf6fe 100644
--- a/lib/files/view.php
+++ b/lib/files/view.php
@@ -249,6 +249,7 @@ class View {
$hooks = array('touch');
if (!$this->file_exists($path)) {
+ $hooks[] = 'create';
$hooks[] = 'write';
}
$result = $this->basicOperation('touch', $path, $hooks, $mtime);