mirror of
https://github.com/moodle/moodle.git
synced 2025-01-31 12:45:04 +01:00
Any admin can assign creators
This commit is contained in:
parent
be7d86f93f
commit
ac61544835
@ -21,12 +21,6 @@
|
||||
|
||||
$primaryadmin = get_admin();
|
||||
|
||||
/// If you want any administrator to have the ability to assign admin
|
||||
/// rights, then comment out the following if statement
|
||||
if ($primaryadmin->id != $USER->id) {
|
||||
error("You must be the primary administrator to use this page.");
|
||||
}
|
||||
|
||||
/// assign all of the configurable language strings
|
||||
$stringstoload = array (
|
||||
"assigncreators",
|
||||
|
Loading…
x
Reference in New Issue
Block a user