Skip to content

Commit

Permalink
MDL-63919 tool_dataprivacy: Notify by default
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewnicols committed Nov 9, 2018
1 parent 8ecff96 commit 56c2b94
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions admin/tool/dataprivacy/classes/api.php
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,8 @@ public static function create_data_request($foruser, $type, $comments = '',
if (null === $notify && data_request::DATAREQUEST_CREATION_AUTO == $creationmethod) {
// If the request was automatically created, then do not notify unless explicitly set.
$notify = false;
} else {
$notify = true;
}

$datarequest = new data_request();
Expand Down

0 comments on commit 56c2b94

Please sign in to comment.