Commit 65a24582 authored by Donal McMullan's avatar Donal McMullan
Browse files

Add default values for internal auth instance

parent 317cac46
......@@ -438,7 +438,13 @@ function core_install_defaults() {
$institution->displayname = 'No Institution';
$institution->authplugin = 'internal';
insert_record('institution', $institution);
$auth_instance = new StdClass;
$auth_instance->instancename = 'internal';
$auth_instance->institution = 'mahara';
$auth_instance->authname = 'internal';
insert_record('auth_instance', $auth_instance);
// Insert the root user
$user = new StdClass;
$user->id = 0;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment