From 56c2b941df60a4efabf3974a11755680916305d9 Mon Sep 17 00:00:00 2001 From: Andrew Nicols Date: Fri, 9 Nov 2018 18:39:42 +0800 Subject: [PATCH] MDL-63919 tool_dataprivacy: Notify by default --- admin/tool/dataprivacy/classes/api.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/admin/tool/dataprivacy/classes/api.php b/admin/tool/dataprivacy/classes/api.php index 695fef720b8..82b78b05f05 100644 --- a/admin/tool/dataprivacy/classes/api.php +++ b/admin/tool/dataprivacy/classes/api.php @@ -239,6 +239,8 @@ class api { 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();