Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
LabNbook
LabNbook-Moodle
Commits
93292bd0
Verified
Commit
93292bd0
authored
Nov 28, 2019
by
David Beniamine
Browse files
Fix bug on create user
parent
b258f2a9
Changes
1
Hide whitespace changes
Inline
Side-by-side
user-binding.php
View file @
93292bd0
...
...
@@ -72,6 +72,7 @@ echo $OUTPUT->header();
echo
$OUTPUT
->
footer
();
function
createUser
(
$user
,
$isTeacher
)
{
$fetchInstitution
=
new
fetch\institution
();
$success
=
$fetchInstitution
->
createUser
([
'first_name'
=>
$user
->
firstname
,
'user_name'
=>
$user
->
lastname
,
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment