Skip to content

Commit

Permalink
Create upgrade.php
Browse files Browse the repository at this point in the history
  • Loading branch information
luukverhoeven authored Apr 12, 2024
1 parent 49b18c8 commit f80e1b6
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions db/upgrade.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
<?php
// This file is part of Moodle - http://moodle.org/
//
// Moodle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Moodle is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.

/**
* Plugin upgrade steps are defined here.
*
* @package mod_gcanvas
* @category upgrade
* @copyright 2018 Luuk Verhoeven - LdesignMedia.nl / MFreak.nl <[email protected]>
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/

/**
* Execute mod_gcanvas upgrade from the given old version.
*
* @param int $oldversion
*
* @return bool
*/
function xmldb_gcanvas_upgrade(int $oldversion): bool {
return true;
}

0 comments on commit f80e1b6

Please sign in to comment.