MDL-63919 tool_dataprivacy: Notify by default

This commit is contained in:
Andrew Nicols 2018-11-09 18:39:42 +08:00
parent 8ecff96216
commit 56c2b941df

View file

@ -239,6 +239,8 @@ class api {
if (null === $notify && data_request::DATAREQUEST_CREATION_AUTO == $creationmethod) { if (null === $notify && data_request::DATAREQUEST_CREATION_AUTO == $creationmethod) {
// If the request was automatically created, then do not notify unless explicitly set. // If the request was automatically created, then do not notify unless explicitly set.
$notify = false; $notify = false;
} else {
$notify = true;
} }
$datarequest = new data_request(); $datarequest = new data_request();