. /** * Database log store upgrade. * * @package logstore_database * @copyright 2014 onwards Ankit Agarwal * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ function xmldb_logstore_database_upgrade($oldversion) { if ($oldversion < 2014041700) { // Clean up old config. unset_config('excludelevels', 'logstore_database'); unset_config('excludeactions', 'logstore_database'); // Savepoint reached. upgrade_plugin_savepoint(true, 2014041700, 'logstore', 'database'); } // Moodle v2.7.0 release upgrade line. // Put any upgrade step following this. // Moodle v2.8.0 release upgrade line. // Put any upgrade step following this. return true; }