]> source.dussan.org Git - nextcloud-server.git/commit
emit pre-update event for comments
authorArthur Schiwon <blizzz@arthur-schiwon.de>
Wed, 12 Oct 2016 16:06:22 +0000 (18:06 +0200)
committerArthur Schiwon <blizzz@arthur-schiwon.de>
Wed, 12 Oct 2016 16:06:22 +0000 (18:06 +0200)
commit1bcd2ca8e35dca6e68e5f06506ade0a78a2beae8
treee1af5850f05bfd165c3542f0b50a49fe623452c0
parenta9671a4dc2cc904ebb852c7804204ac9f245017e
emit pre-update event for comments

* notifications can be cleaned up, no polluted DB
* updating comments will re-notify users or remove notifications, depending on the message

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
apps/comments/lib/EventHandler.php
apps/comments/lib/Notification/Listener.php
apps/comments/tests/Unit/EventHandlerTest.php
apps/comments/tests/Unit/Notification/ListenerTest.php
apps/dav/lib/Comments/CommentNode.php
lib/private/Comments/Manager.php
lib/public/Comments/CommentsEvent.php
tests/lib/Comments/ManagerTest.php