mirror of
https://github.com/moodle/moodle.git
synced 2025-08-08 10:26:40 +02:00
MDL-63919 tool_dataprivacy: Notify by default
This commit is contained in:
parent
8ecff96216
commit
56c2b941df
1 changed files with 2 additions and 0 deletions
|
@ -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();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue