Fixing one little-little bug about user->ajax being nullable. MDL-8421
This commit is contained in:
+1
-1
@@ -2130,7 +2130,7 @@ function main_upgrade($oldversion=0) {
|
||||
}
|
||||
|
||||
if ($oldversion < 2006082800) {
|
||||
table_column('user', '', 'ajax', 'integer', '1', 'unsigned', '1', '', 'htmleditor');
|
||||
table_column('user', '', 'ajax', 'integer', '1', 'unsigned', '1', 'not null', 'htmleditor');
|
||||
}
|
||||
|
||||
if ($oldversion < 2006082900) {
|
||||
|
||||
@@ -1728,7 +1728,7 @@ function main_upgrade($oldversion=0) {
|
||||
}
|
||||
|
||||
if ($oldversion < 2006082800) {
|
||||
table_column('user', '', 'ajax', 'integer', '1', 'unsigned', '1', '', 'htmleditor');
|
||||
table_column('user', '', 'ajax', 'integer', '1', 'unsigned', '1', 'not null', 'htmleditor');
|
||||
}
|
||||
|
||||
if ($oldversion < 2006082900) {
|
||||
|
||||
Reference in New Issue
Block a user