MDL-63919 tool_dataprivacy: Notify by default
authorAndrew Nicols <andrew@nicols.co.uk>
Fri, 9 Nov 2018 10:39:42 +0000 (18:39 +0800)
committerAndrew Nicols <andrew@nicols.co.uk>
Fri, 9 Nov 2018 10:39:42 +0000 (18:39 +0800)
admin/tool/dataprivacy/classes/api.php

index 695fef7..82b78b0 100644 (file)
@@ -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();