Commit 7afbe6ca authored by Donal McMullan's avatar Donal McMullan

Create auth_instance record for mandatory internal auth plugin

parent a8d56b68
<?xml version="1.0" encoding="UTF-8" ?>
<XMLDB PATH="lib/db" VERSION="20061127" COMMENT="XMLDB file for Mahara's blog-related tables"
<STATEMENT NAME="insert auth_instance" TYPE="insert" TABLE="auth_instance">
<SENTENCE TEXT="(instancename, priority, institution, authname) VALUES ('internal', 1, 'mahara','internal')" />
function xmldb_auth_internal_upgrade($oldversion=0) {
if ($oldversion < 2007062900) {
$record = new stdClass();
return insert_record('auth_instance',$record);
return true;
\ No newline at end of file
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