[ Index ]

PHP Cross Reference of Moodle 1.9.3 [Build 15-Oct-2008]

title

Body

[close]

/blocks/participants/db/ -> mysql.php (source)

   1  <?PHP  //$Id: mysql.php,v 1.2 2006/10/26 22:39:11 stronk7 Exp $
   2  
   3  // THIS FILE IS DEPRECATED!  PLEASE DO NOT MAKE CHANGES TO IT!
   4  //
   5  // IT IS USED ONLY FOR UPGRADES FROM BEFORE MOODLE 1.7, ALL 
   6  // LATER CHANGES SHOULD USE upgrade.php IN THIS DIRECTORY.
   7  //
   8  // This file is tailored to MySQL
   9  
  10  function participants_upgrade($oldversion=0) {
  11  
  12      global $CFG;
  13      
  14      $result = true;
  15  
  16      if ($oldversion < 2004041000 and $result) {
  17          $result = true; //Nothing to do
  18      }
  19  
  20      //////  DO NOT ADD NEW THINGS HERE!!  USE upgrade.php and the lib/ddllib.php functions.
  21  
  22      //Finally, return result
  23      return $result;
  24  }


Generated: Wed Jan 14 11:33:29 2009 Cross-referenced by PHPXref 0.7