Merge branch 'MDL-63009-master' of git://github.com/mickhawkins/moodle
[moodle.git] / admin / tool / dataprivacy / classes / api.php
index 66e469a..212f91a 100644 (file)
@@ -634,6 +634,8 @@ class api {
             'requestedby' => $requestedby->fullname,
             'requesttype' => $typetext,
             'requestdate' => userdate($requestdata->timecreated),
+            'requestorigin' => $SITE->fullname,
+            'requestoriginurl' => new moodle_url('/'),
             'requestcomments' => $requestdata->messagehtml,
             'datarequestsurl' => $datarequestsurl
         ];