Skip to content
Snippets Groups Projects
Commit acbdfd2b authored by Nicosoft's avatar Nicosoft Committed by GitHub
Browse files

Update AssignmentGraded.php

parent 0f00cae0
No related branches found
No related tags found
No related merge requests found
......@@ -58,14 +58,7 @@ class AssignmentGraded extends Event {
]);
// Excluded from array merge to make sure that the actor is overwritten e.g. if a different IFI is used.
$statement['actor'] = [
'objectType' => 'Agent',
'name' => $opts['graded_user_name'],
'account' => [
'homePage' => $opts['graded_user_url'],
'name' => $opts['graded_user_id'],
],
];
$statement['actor'] = $this->readUser($opts, "graded_user");
if (!is_null($opts['grade_success'])) {
$statement['result']['success'] = $opts['grade_success'];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment