Home
Documentation
Downloads
Demo
Tracker
Development
Translation
Moodle.net
Search
projects
/
moodle.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ba92680
)
MDL-36941 core: Remove default for convhash field in upgrade.php
author
Jun Pataleta
<jun@moodle.com>
Fri, 23 Mar 2018 06:14:49 +0000
(14:14 +0800)
committer
Jun Pataleta
<jun@moodle.com>
Fri, 23 Mar 2018 06:14:49 +0000
(14:14 +0800)
lib/db/upgrade.php
patch
|
blob
|
blame
|
history
diff --git
a/lib/db/upgrade.php
b/lib/db/upgrade.php
index
deff6eb
..
42039ad
100644
(file)
--- a/
lib/db/upgrade.php
+++ b/
lib/db/upgrade.php
@@
-2134,7
+2134,7
@@
function xmldb_main_upgrade($oldversion) {
if ($oldversion < 2018032200.04) {
// Define table 'message_conversations' to be updated.
$table = new xmldb_table('message_conversations');
- $field = new xmldb_field('convhash', XMLDB_TYPE_CHAR, '40', null, XMLDB_NOTNULL, null,
0
, 'id');
+ $field = new xmldb_field('convhash', XMLDB_TYPE_CHAR, '40', null, XMLDB_NOTNULL, null,
null
, 'id');
// Conditionally launch add field 'convhash'.
if (!$dbman->field_exists($table, $field)) {