]> git.mjollnir.org Git - moodle.git/commitdiff
added rsstitletemplate field
authortoyomoyo <toyomoyo>
Wed, 24 May 2006 06:16:10 +0000 (06:16 +0000)
committertoyomoyo <toyomoyo>
Wed, 24 May 2006 06:16:10 +0000 (06:16 +0000)
mod/data/db/mysql.php
mod/data/db/mysql.sql
mod/data/db/postgres7.php
mod/data/db/postgres7.sql
mod/data/version.php

index 3185768589256a33cb8f8a8c077addab99cb1396..c992c5d4584982ee8a6d4ba2130126f40b54e54b 100644 (file)
@@ -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;
 }
 
index 24d671a6a3cb48ccdf293cc467adec18fc7b5670..d6e74f3bffe0fbfd7d7c9c52e00f2a919e680956 100755 (executable)
@@ -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',
index ca9fd6a938a1e2b1b21a6a418b8510e4c8410e16..597b4d59dff2624f3b494af665d005b76fd30b17 100644 (file)
@@ -148,6 +148,10 @@ function data_upgrade($oldversion) {
                             
     }
     
+    if ($oldversion < 2006052400) {
+        table_column('data','','rsstitletemplate','text','','','','not null','rsstemplate');
+    }
+    
     return true;
 }
 
index f670e597e6428c78442ba77ecddb86e98ade7640..1e1910ac5434483f6b2189817d7e4cb278641069 100755 (executable)
@@ -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',
index 691882e4bca243c1838ac82e10ad5dea8616a0c1..65ec57ee8484bdbbab28b3c2510934ee159ca81c 100644 (file)
@@ -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;