Commit c56b5ebb authored by Donal McMullan's avatar Donal McMullan

Popluate application table on upgrade

parent f8f97f42
......@@ -392,12 +392,19 @@ function xmldb_core_upgrade($oldversion=0) {
add_key($table, $key);
$record = new stdClass();
$record->instancename='internal';
$record->priority='1';
$record->institution='mahara';
$record->authname='internal';
// insert_record('auth_instance',$record);
$record->name = 'mahara';
$record->displayname = 'Mahara';
$record->xmlrpcserverurl = '/api/xmlrpc/server.php';
$record->ssolandurl = '/auth/xmlrpc/land.php';
insert_record('application',$record);
$record->name = 'moodle';
$record->displayname = 'Moodle';
$record->xmlrpcserverurl = '/mnet/xmlrpc/server.php';
$record->ssolandurl = '/auth/mnet/land.php';
insert_record('application',$record);
}
return $status;
......
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