-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathversion.php
More file actions
41 lines (36 loc) · 1.52 KB
/
version.php
File metadata and controls
41 lines (36 loc) · 1.52 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
<?php
// This file is part of local_lbplanner.
//
// 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/>.
/**
* Defines versioning
*
* @package local_lbplanner
* @copyright 2025 Pallasys
* @license https://creativecommons.org/licenses/by-nc-sa/4.0/ CC-BY-NC-SA 4.0 International or later
*/
defined('MOODLE_INTERNAL') || die();
use local_lbplanner\enums\{ENVIRONMENT, SETTINGS};
$plugin->requires = 2024042200.00; // Require Moodle >=4.4.0.
$plugin->maturity = MATURITY_BETA;
$plugin->component = 'local_lbplanner';
$plugin->release = '1.1.11';
$plugin->version = 202511210000;
$plugin->dependencies = [
// Depend upon version 2023110600 of local_modcustomfields.
'local_modcustomfields' => 2023110600,
];
set_config(SETTINGS::V_RELEASE, $plugin->release, 'local_lbplanner');
set_config(SETTINGS::V_FULLNUM, $plugin->version, 'local_lbplanner');
set_config(SETTINGS::SENTRY_ENV, ENVIRONMENT::DEV, 'local_lbplanner'); // NOTE: gets set to 'production' by CI for release.