Created a worked upgrade mechanism
Signed-off-by: Valentin Popov <info@valentineus.link>
This commit is contained in:
		
							
								
								
									
										31
									
								
								version.php
									
									
									
									
									
								
							
							
						
						
									
										31
									
								
								version.php
									
									
									
									
									
								
							@@ -1,4 +1,19 @@
 | 
			
		||||
<?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/>.
 | 
			
		||||
 | 
			
		||||
// This file is part of Moodle - http://moodle.org/
 | 
			
		||||
//
 | 
			
		||||
// Moodle is free software: you can redistribute it and/or modify
 | 
			
		||||
@@ -14,19 +29,11 @@
 | 
			
		||||
// 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
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
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);
 | 
			
		||||
$plugin->release = '5.0.0-rc.1 (Build: 2019040100)';
 | 
			
		||||
$plugin->requires = 2016112900;
 | 
			
		||||
$plugin->version = 2019040100;
 | 
			
		||||
		Reference in New Issue
	
	Block a user