Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mahara
mahara
Commits
1cda601c
Commit
1cda601c
authored
Oct 29, 2009
by
Richard Mansfield
Browse files
Remove 'sessionid' column on usr table (bug 3037)
Signed-off-by:
Richard Mansfield
<
richardm@catalyst.net.nz
>
parent
cd0e0ca9
Changes
3
Hide whitespace changes
Inline
Side-by-side
htdocs/lib/db/install.xml
View file @
1cda601c
...
...
@@ -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"
/>
...
...
htdocs/lib/db/upgrade.php
View file @
1cda601c
...
...
@@ -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
;
}
...
...
htdocs/lib/version.php
View file @
1cda601c
...
...
@@ -28,7 +28,7 @@
defined
(
'INTERNAL'
)
||
die
();
$config
=
new
StdClass
;
$config
->
version
=
2009102
2
00
;
$config
->
version
=
2009102
9
00
;
$config
->
release
=
'1.2.0beta5dev'
;
$config
->
minupgradefrom
=
2008040200
;
$config
->
minupgraderelease
=
'1.0.0 (release tag 1.0.0_RELEASE)'
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment