Introducing a new plugin watchlistnotification that responds to the
events saveartefact, blockinstancecommit and deleteblockinstance. It
stores the changed view and the blockinstance in a table watchlist_queue
and checks via cron if there were any changes on a view and if for that
view the last change has happened some time ago (the minutes are stored
in config under watchlistnotification_delay, the default is 20min).
If so, a message is generated that informs the watchlist recipient about
which view and which block-instances on this view have been touched
(added or changed).
As there is no way to disable the built-in/old watchlist-notification-
system, this is disabled in the mahara-core code, that is,
artefact/lib.php and lib/view.php
Reviewed: https:/ /reviews. mahara. org/2491 gitorious. org/mahara/ mahara/ commit/ 6fe99d5f54db6dc d91ec9852a221d5 4d4edcd21a
Committed: http://
Submitter: Robert Lyon (<email address hidden>)
Branch: master
commit 6fe99d5f54db6dc d91ec9852a221d5 4d4edcd21a
Author: Tobias Zeuch <email address hidden>
Date: Wed Sep 11 15:51:25 2013 +0200
New watchlistnotifi cation Plugin (Bug 1041228)
Introducing a new plugin watchlistnotifi cation that responds to the ance. It cation_ delay, the default is 20min).
events saveartefact, blockinstancecommit and deleteblockinst
stores the changed view and the blockinstance in a table watchlist_queue
and checks via cron if there were any changes on a view and if for that
view the last change has happened some time ago (the minutes are stored
in config under watchlistnotifi
If so, a message is generated that informs the watchlist recipient about
which view and which block-instances on this view have been touched
(added or changed).
As there is no way to disable the built-in/old watchlist- notification-
system, this is disabled in the mahara-core code, that is,
artefact/lib.php and lib/view.php
Change-Id: I039c5285cdd1b0 9ed9eb38a647e0c 1510c3cabb9
Signed-off-by: Tobias Zeuch <email address hidden>