Commit 1cda601c authored by Richard Mansfield's avatar Richard Mansfield
Browse files

Remove 'sessionid' column on usr table (bug 3037)


Signed-off-by: default avatarRichard Mansfield <richardm@catalyst.net.nz>
parent cd0e0ca9
......@@ -104,7 +104,6 @@
<FIELD NAME="quota" TYPE="int" LENGTH="10" NOTNULL="false"/>
<FIELD NAME="quotaused" TYPE="int" LENGTH="10" NOTNULL="true" DEFAULT="0" />
<FIELD NAME="authinstance" TYPE="int" LENGTH="10" NOTNULL="true" DEFAULT="1" />
<FIELD NAME="sessionid" TYPE="char" LENGTH="32" NOTNULL="false" DEFAULT="" />
</FIELDS>
<KEYS>
<KEY NAME="primary" TYPE="primary" FIELDS="id" />
......
......@@ -1250,6 +1250,12 @@ function xmldb_core_upgrade($oldversion=0) {
insert_record('activity_type', (object) array('name' => 'groupmessage', 'admin' => 0, 'delay' => 0));
}
if ($oldversion < 2009102900) {
$table = new XMLDBTable('usr');
$field = new XMLDBField('sessionid');
drop_field($table, $field);
}
return $status;
}
......
......@@ -28,7 +28,7 @@
defined('INTERNAL') || die();
$config = new StdClass;
$config->version = 2009102200;
$config->version = 2009102900;
$config->release = '1.2.0beta5dev';
$config->minupgradefrom = 2008040200;
$config->minupgraderelease = '1.0.0 (release tag 1.0.0_RELEASE)';
......
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