Skip to content

Commit

Permalink
Update #86bwwnckq - Add upgrade.php
Browse files Browse the repository at this point in the history
  • Loading branch information
vincentcornelis committed Apr 10, 2024
1 parent b195ebe commit 67790c6
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 1 deletion.
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;
}
2 changes: 1 addition & 1 deletion version.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@

$plugin->component = 'mod_gcanvas';
$plugin->release = '4.4.0';
$plugin->version = 2024040500;
$plugin->version = 2024041000;
$plugin->requires = 2020061500;
$plugin->supported = [39, 404];
$plugin->maturity = MATURITY_STABLE;

0 comments on commit 67790c6

Please sign in to comment.