mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 14:27:22 +01:00
added rsstitletemplate field
This commit is contained in:
parent
462458c66b
commit
6fe661e879
@ -64,6 +64,9 @@ function data_upgrade($oldversion) {
|
||||
table_column('data_fields','param10','param10','text','','','','not null');
|
||||
}
|
||||
|
||||
if ($oldversion < 2006052400) {
|
||||
table_column('data','','rsstitletemplate','text','','','','not null','rsstemplate');
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
|
@ -32,6 +32,7 @@ CREATE TABLE prefix_data (
|
||||
listtemplatefooter text NOT NULL default '',
|
||||
addtemplate text NOT NULL default '',
|
||||
rsstemplate text NOT NULL default '',
|
||||
rsstitletemplate text NOT NULL default '',
|
||||
csstemplate text NOT NULL default '',
|
||||
approval tinyint(4) unsigned NOT NULL default '0',
|
||||
scale int(10) NOT NULL default '0',
|
||||
|
@ -148,6 +148,10 @@ function data_upgrade($oldversion) {
|
||||
|
||||
}
|
||||
|
||||
if ($oldversion < 2006052400) {
|
||||
table_column('data','','rsstitletemplate','text','','','','not null','rsstemplate');
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
@ -21,6 +21,7 @@ CREATE TABLE prefix_data (
|
||||
listtemplatefooter text NOT NULL default '',
|
||||
addtemplate text NOT NULL default '',
|
||||
rsstemplate text NOT NULL default '',
|
||||
rsstitletemplate text NOT NULL default '',
|
||||
csstemplate text NOT NULL default '',
|
||||
approval integer NOT NULL default '0',
|
||||
scale integer NOT NULL default '0',
|
||||
|
@ -5,7 +5,7 @@
|
||||
// This fragment is called by /admin/index.php
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
$module->version = 2006050500;
|
||||
$module->version = 2006052400;
|
||||
$module->requires = 2005060230; // Requires this Moodle version
|
||||
$module->cron = 60;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user