Removed save_session() - no longer needed
This commit is contained in:
@@ -54,7 +54,6 @@
|
||||
$USER->site = $CFG->wwwroot;
|
||||
$USER->admin = true;
|
||||
$USER->teacher["$site->id"] = true;
|
||||
save_session("USER");
|
||||
|
||||
redirect("$CFG->wwwroot/user/edit.php?id=$user->id&course=$site->id");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user