Skip to content

Commit

Permalink
PM-42402 v1.0.4 - added missing files
Browse files Browse the repository at this point in the history
Plugin submission complained about these files missing.
  • Loading branch information
mk-kialo committed Aug 31, 2023
1 parent 50f6a1b commit d4a39cd
Show file tree
Hide file tree
Showing 3 changed files with 65 additions and 2 deletions.
31 changes: 31 additions & 0 deletions db/uninstall.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
<?php
// This file is part of Moodle - https://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 <https://www.gnu.org/licenses/>.

/**
* Code that is executed before the tables and data are dropped during the plugin uninstallation.
*
* @package mod_kialo
* @copyright 2023 onwards, Kialo GmbH <[email protected]>
* @license https://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/

/**
* Custom uninstallation procedure.
*/
function xmldb_kialo_uninstall() {
// There's nothing special to do here.
return true;
}
32 changes: 32 additions & 0 deletions db/upgrade.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
<?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/>.

/**
* Upgrade steps for the Kialo activity module.
*
* @package mod_kialo
* @copyright 2023 onwards, Kialo GmbH <[email protected]>
* @license https://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/

/**
* Custom upgrade steps.
* @param int $oldversion
* @return void
*/
function xmldb_kialo_upgrade($oldversion = 0) {
// This is the first public version, so there is nothing to do yet.
}
4 changes: 2 additions & 2 deletions version.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@

/** @var stdClass $plugin */
$plugin->component = 'mod_kialo';
$plugin->release = '1.0.3';
$plugin->version = 2023083103;
$plugin->release = '1.0.4';
$plugin->version = 2023083104;

// Officially we require PHP 7.4. The first Moodle version that requires this as a minimum is Moodle 4.1.
// But technically this plugin also runs on older Moodle versions, as long as they run on PHP 7.4,
Expand Down

0 comments on commit d4a39cd

Please sign in to comment.