]> git.mjollnir.org Git - moodle.git/commitdiff
Changed the online submodule to work under the new install/upgrade code
authorstronk7 <stronk7>
Wed, 29 Aug 2007 14:38:34 +0000 (14:38 +0000)
committerstronk7 <stronk7>
Wed, 29 Aug 2007 14:38:34 +0000 (14:38 +0000)
mod/assignment/type/online/db/mysql.php
mod/assignment/type/online/db/postgres7.php
mod/assignment/type/online/version.php

index 68e4ff9425738db214f2e6c74aafc9ba63a4d90c..349ada611c6f7edb5443f91528429093b453fa2a 100644 (file)
@@ -1,7 +1,7 @@
 <?php  // $Id$
 
 
-function assignment_online_upgrade($oldversion)  {
+function assignment_type_online_upgrade($oldversion)  {
     global $CFG, $db;
 
     if ($oldversion < 2005042900 and empty($CFG->noconvertjournals)) {  // Phase out Journals, convert them 
index 68e4ff9425738db214f2e6c74aafc9ba63a4d90c..349ada611c6f7edb5443f91528429093b453fa2a 100644 (file)
@@ -1,7 +1,7 @@
 <?php  // $Id$
 
 
-function assignment_online_upgrade($oldversion)  {
+function assignment_type_online_upgrade($oldversion)  {
     global $CFG, $db;
 
     if ($oldversion < 2005042900 and empty($CFG->noconvertjournals)) {  // Phase out Journals, convert them 
index a19070cb78966e257591edee515b435f6052cd04..3ab6a960891e0ea47430fb187a5a0c68e23dfa66 100644 (file)
@@ -5,7 +5,7 @@
 //  This fragment is called by /admin/index.php
 ////////////////////////////////////////////////////////////////////////////////
 
-$submodule->version   = 2005042900;
-$submodule->requires  = 2005041800;
+$plugin->version   = 2005042900;
+$plugin->requires  = 2005041800;
 
 ?>