aboutsummaryrefslogtreecommitdiffstats
path: root/lib/files/view.php
diff options
context:
space:
mode:
authorGeorg Ehrke <developer@georgehrke.com>2013-08-30 18:11:18 +0200
committerGeorg Ehrke <developer@georgehrke.com>2013-08-30 18:11:18 +0200
commit8ef40277b21688112c48d40a9c80a519c3e7460c (patch)
treee1dce17e21c734964aec2ae432d03677d7f32d57 /lib/files/view.php
parent40cee5639e89ad052ba5234a28e5f197f2fd70ba (diff)
parent0f5df181a3b1f88075193fca0bed88f289314c8e (diff)
downloadnextcloud-server-8ef40277b21688112c48d40a9c80a519c3e7460c.tar.gz
nextcloud-server-8ef40277b21688112c48d40a9c80a519c3e7460c.zip
Merge master into oc_preview
Diffstat (limited to 'lib/files/view.php')
-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);