Commit 6ce343ae authored by Robert Lyon's avatar Robert Lyon

Bug 1524583: Unable to delete single sent messages

The wrong named variable is being looked for.

This was an oversite from when we moved the plugin from artefact to
module.

behatnotneeded

Change-Id: I8da4a53162d077eac9b6f71149b9cd7a204e8c1d
Signed-off-by: Robert Lyon's avatarRobert Lyon <robertl@catalyst.net.nz>
parent fe27024a
......@@ -60,7 +60,7 @@ if ($delete) {
db_begin();
$countdeleted = 0;
foreach ($ids as $list => $idsperlist) {
if ('artefact_multirecipient_notification' === $list) {
if ('module_multirecipient_notification' === $list) {
delete_messages_mr($idsperlist, $USER->get('id'));
$countdeleted += count($idsperlist);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment