|
Moodle
2.2.1
http://www.collinsharper.com
|
Go to the source code of this file.
Namespaces | |
| namespace | core |
Functions | |
| xmldb_main_install () | |
Make sure system context exists
Create site course
Create default course category
Bootstrap mnet
Create guest record - do not assign any role, guest user gets the default guest role automatically on the fly
Now create admin user
Store list of admins
Install the roles system.
Now is the correct moment to install capabilities - after creation of legacy roles, but before assigning of roles
Default allow assign
Default allow override
Default allow switch.
Set up the context levels where you can assign each role.
Definition at line 29 of file install.php.

