]> source.dussan.org Git - nextcloud-server.git/commit
Emit write update only once on touch 12868/head
authorRoeland Jago Douma <roeland@famdouma.nl>
Wed, 5 Dec 2018 20:29:48 +0000 (21:29 +0100)
committerBackportbot <backportbot-noreply@rullzer.com>
Wed, 5 Dec 2018 21:55:24 +0000 (21:55 +0000)
commit07eb6e57161318829bc60cf441d72590d30b5894
tree7c635d1348f56d345a5f289daf52858d2b1ac23b
parentfc6dd2d4cb49282cd00df48128c436ac8e9f416e
Emit write update only once on touch

When a touch is done (i.e. when creating a new file in the node API)
The hooks contain 'write' and 'touch' (and the operation is touch as
well). This would cause a double write update. Which doesn't make sense.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
lib/private/Files/View.php