aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/App/Controller/Report/Update.pm
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2019-11-04 14:32:43 +0000
committerDave Arter <davea@mysociety.org>2019-12-09 12:50:07 +0000
commitd2d4086ec17e30bd7d65b6e692303c26b52a2929 (patch)
treed3334b5411311adff4d54866563a9f0c6188d0f5 /perllib/FixMyStreet/App/Controller/Report/Update.pm
parentcc93a1601580c9a7f4f6a2cc0980d886b10e5785 (diff)
[TfL] Send email to shortlisted user upon update.
Diffstat (limited to 'perllib/FixMyStreet/App/Controller/Report/Update.pm')
-rw-r--r--perllib/FixMyStreet/App/Controller/Report/Update.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/perllib/FixMyStreet/App/Controller/Report/Update.pm b/perllib/FixMyStreet/App/Controller/Report/Update.pm
index 610f0f4eb..e04d99ac1 100644
--- a/perllib/FixMyStreet/App/Controller/Report/Update.pm
+++ b/perllib/FixMyStreet/App/Controller/Report/Update.pm
@@ -642,6 +642,8 @@ sub signup_for_alerts : Private {
$alert->disable();
}
+ $c->cobrand->call_hook(update_email_shortlisted_user => $update);
+
return 1;
}