mirror of
https://github.com/moodle/moodle.git
synced 2025-03-20 07:30:01 +01:00
Merge branch 'MDL-76311-401' of https://github.com/meirzamoodle/moodle into MOODLE_401_STABLE
This commit is contained in:
commit
858b26feb2
@ -165,6 +165,8 @@ if ($returnto === 'profile') {
|
||||
} else {
|
||||
$returnurl = new moodle_url('/user/profile.php', array('id' => $user->id));
|
||||
}
|
||||
} else if ($user->id === -1) {
|
||||
$returnurl = new moodle_url("/admin/user.php");
|
||||
} else {
|
||||
$returnurl = new moodle_url('/user/preferences.php', array('userid' => $user->id));
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user