Skip to content
Snippets Groups Projects
Commit e6f703d8 authored by Stefan Weber's avatar Stefan Weber
Browse files

Bugfix: re-added entity save on user created

parent 4b8f4f15
No related branches found
No related tags found
No related merge requests found
......@@ -108,6 +108,7 @@ class CreateService {
// Write back moodle id to Drupal entity.
if ($moodle_id) {
$user->field_moodle_id->value = $moodle_id;
$user->save();
}
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment