]> source.dussan.org Git - nextcloud-server.git/commit
Emit write update only once on touch 12869/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:56:01 +0000 (21:56 +0000)
commitbdd974db3fbb821f8c5780693dac935b71703f5b
treeffce72cf9dac2d38d8b0b83671a4879edba5c7bf
parent13b2617761ee40fae3523f2aa8826d39d395744b
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