Commit 76c92029 authored by Mihail Geshoski's avatar Mihail Geshoski

MDL-63919 privacy: Store the creation method of the data request

parent 752b63d5
......@@ -253,6 +253,8 @@ class api {
$datarequest->set('type', $type);
// Set request comments.
$datarequest->set('comments', $comments);
// Set the creation method.
$datarequest->set('creationmethod', $creationmethod);
// Store subject access request.
$datarequest->create();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment