]> source.dussan.org Git - nextcloud-server.git/commit
Fix emitting of legacy hook post_unshare 5784/head
authorPauli Järvinen <pauli.jarvinen@gmail.com>
Sun, 16 Jul 2017 09:49:46 +0000 (12:49 +0300)
committerMorris Jobke <hey@morrisjobke.de>
Wed, 19 Jul 2017 09:42:23 +0000 (11:42 +0200)
commit22b29943ed8997a6167ddeb45f6cc63967c028f9
tree938ae794a8cea518ab497c37631f1f2207adc6ed
parentfad8b275f1997b56b93fc75e40499484f07d799f
Fix emitting of legacy hook post_unshare

- When a file was unshared, the legacy hook pre_unshare fired twice and the hook post_unshare did not fire at all. This was obviously a copy-paste error.

Signed-off-by: Pauli Järvinen <pauli.jarvinen@gmail.com>
lib/private/Share20/LegacyHooks.php
tests/lib/Share20/LegacyHooksTest.php