diff --git a/db/uninstall.php b/db/uninstall.php new file mode 100644 index 0000000..33c4916 --- /dev/null +++ b/db/uninstall.php @@ -0,0 +1,31 @@ +. + +/** + * Code that is executed before the tables and data are dropped during the plugin uninstallation. + * + * @package mod_kialo + * @copyright 2023 onwards, Kialo GmbH + * @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; +} diff --git a/db/upgrade.php b/db/upgrade.php new file mode 100644 index 0000000..eb73378 --- /dev/null +++ b/db/upgrade.php @@ -0,0 +1,32 @@ +. + +/** + * Upgrade steps for the Kialo activity module. + * + * @package mod_kialo + * @copyright 2023 onwards, Kialo GmbH + * @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. +} diff --git a/version.php b/version.php index addeeb1..165904c 100644 --- a/version.php +++ b/version.php @@ -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,