From f80e1b68ed1a7d64e761c1f3c7346aa69b625890 Mon Sep 17 00:00:00 2001 From: Luuk Verhoeven Date: Fri, 12 Apr 2024 09:10:46 +0200 Subject: [PATCH] Create upgrade.php --- db/upgrade.php | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 db/upgrade.php diff --git a/db/upgrade.php b/db/upgrade.php new file mode 100644 index 0000000..27e02b7 --- /dev/null +++ b/db/upgrade.php @@ -0,0 +1,35 @@ +. + +/** + * Plugin upgrade steps are defined here. + * + * @package mod_gcanvas + * @category upgrade + * @copyright 2018 Luuk Verhoeven - LdesignMedia.nl / MFreak.nl + * @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; +}