Comment 11 for bug 1041228

Revision history for this message
Mahara Bot (dev-mahara) wrote : A change has been merged

Reviewed: https://reviews.mahara.org/2491
Committed: http://gitorious.org/mahara/mahara/commit/6fe99d5f54db6dcd91ec9852a221d54d4edcd21a
Submitter: Robert Lyon (<email address hidden>)
Branch: master

commit 6fe99d5f54db6dcd91ec9852a221d54d4edcd21a
Author: Tobias Zeuch <email address hidden>
Date: Wed Sep 11 15:51:25 2013 +0200

New watchlistnotification Plugin (Bug 1041228)

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

Change-Id: I039c5285cdd1b09ed9eb38a647e0c1510c3cabb9
Signed-off-by: Tobias Zeuch <email address hidden>