if ($oldversion < 2004012900) {
table_column("config", "value", "value", "text", "", "", "");
}
-
- if ($oldversion < 2004013000) {
- table_column("forum_posts", "mailed", "mailed", "tinyint", "2");
- }
return $result;
table_column("config", "value", "value", "text", "", "", "");
}
- if ($oldversion < 2004013000) {
- table_column("forum_posts", "mailed", "mailed", "tinyint", "2");
- }
-
return $result;
}
if ($oldversion < 2004012200) {
table_column("forum_discussions", "", "groupid", "integer", "10", "unsigned", "0", "", "userid");
}
+
+ if ($oldversion < 2004013000) {
+ table_column("forum_posts", "mailed", "mailed", "tinyint", "2");
+ }
return true;
userid int(10) unsigned NOT NULL default '0',
created int(10) unsigned NOT NULL default '0',
modified int(10) unsigned NOT NULL default '0',
- mailed tinyint(1) unsigned NOT NULL default '0',
+ mailed tinyint(2) unsigned NOT NULL default '0',
subject varchar(255) NOT NULL default '',
message text NOT NULL,
format tinyint(2) NOT NULL default '0',
INSERT INTO prefix_log_display VALUES ('forum', 'view forum', 'forum', 'name');
INSERT INTO prefix_log_display VALUES ('forum', 'subscribe', 'forum', 'name');
INSERT INTO prefix_log_display VALUES ('forum', 'unsubscribe', 'forum', 'name');
-
// This fragment is called by /admin/index.php
////////////////////////////////////////////////////////////////////////////////
-$module->version = 2004012800;
-$module->requires = 2004012800; // Requires this Moodle version
+$module->version = 2004013000;
+$module->requires = 2004013000; // Requires this Moodle version
$module->cron = 60;
?>