Note:

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

Database FAQ

From MoodleDocs


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;

} ?>