Note:

If you want to create a new page for developers, you should create it on the Moodle Developer Resource site.

Database FAQ: Difference between revisions

From MoodleDocs
(Created page with "<?php function xmldb_mymodule_upgrade($oldversion) { global $CFG; $result = TRUE; // Insert PHP code from XMLDB Editor here return $result; } ?>")
 
(This page will not be migrated to new devdocs)
 
Line 1: Line 1:
{{Template:WillNotMigrate}}
<?php
<?php
   
   

Latest revision as of 16:00, 25 May 2022


Warning: This page is no longer in use. The information contained on the page should NOT be seen as relevant or reliable.


<?php

function xmldb_mymodule_upgrade($oldversion) {

   global $CFG;

   $result = TRUE;

// Insert PHP code from XMLDB Editor here

   return $result;

} ?>