aboutsummaryrefslogtreecommitdiff
path: root/version.php
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2019-04-28 16:46:36 +0300
committerValentin Popov <info@valentineus.link>2019-04-28 16:53:22 +0300
commit7ae31a6eee7c5625b8c654d4b1107c563c8d60fc (patch)
treed6c13a6185dec0908ad2c32fa03889039dca0cee /version.php
parent0fe3b14f291fe6e680ea33cc277904ff9d69c5d2 (diff)
downloadlocal_webhooks-7ae31a6eee7c5625b8c654d4b1107c563c8d60fc.tar.xz
local_webhooks-7ae31a6eee7c5625b8c654d4b1107c563c8d60fc.zip
Created a worked upgrade mechanism
Signed-off-by: Valentin Popov <info@valentineus.link>
Diffstat (limited to 'version.php')
-rw-r--r--version.php31
1 files changed, 19 insertions, 12 deletions
diff --git a/version.php b/version.php
index f3f079e..38eb9f4 100644
--- a/version.php
+++ b/version.php
@@ -1,5 +1,5 @@
<?php
-// This file is part of Moodle - http://moodle.org/
+// 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
@@ -14,19 +14,26 @@
// You should have received a copy of the GNU General Public License
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
-/**
- * Information about the version of the plugin.
- *
- * @package local_webhooks
- * @copyright 2017 "Valentin Popov" <info@valentineus.link>
- * @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 <http://www.gnu.org/licenses/>.
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