From 7ae31a6eee7c5625b8c654d4b1107c563c8d60fc Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Sun, 28 Apr 2019 17:46:36 +0400 Subject: Created a worked upgrade mechanism Signed-off-by: Valentin Popov --- version.php | 31 +++++++++++++++++++------------ 1 file changed, 19 insertions(+), 12 deletions(-) (limited to 'version.php') diff --git a/version.php b/version.php index f3f079e..38eb9f4 100644 --- a/version.php +++ b/version.php @@ -1,5 +1,5 @@ . -/** - * Information about the version of the plugin. - * - * @package local_webhooks - * @copyright 2017 "Valentin Popov" - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later - */ +// 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 . defined('MOODLE_INTERNAL') || die(); -$plugin->release = '4.0.0-rc.2 (Build: 2018022500)'; -$plugin->version = 2018022500; -$plugin->requires = 2016112900; $plugin->component = 'local_webhooks'; +$plugin->dependencies = ['report_eventlist' => 2016120500]; $plugin->maturity = MATURITY_RC; -$plugin->dependencies = array('report_eventlist' => 2016120500); \ No newline at end of file +$plugin->release = '5.0.0-rc.1 (Build: 2019040100)'; +$plugin->requires = 2016112900; +$plugin->version = 2019040100; \ No newline at end of file -- cgit v1.2.3