mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 22:08:20 +01:00
9665ecd275
1. This used to use a complex legacy system which was buggy. 2. It now relies on a new mod/...:addinstance capability for each module. 3. All the legacy code has been stripped out. 4. Old restriction data is upgraded by creating the necessary permission overrides. Similarly, when old backups are restored, the old settings are converted to be overrides. 5. The required addinstance capabilities will be added as a separate commit. 6. There is a developer debug warning about modules that are missing the addinstance capability, unless they are MOD_ARCHETYPE_SYSTEM mods.
40 lines
1.5 KiB
PHP
40 lines
1.5 KiB
PHP
<?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/>.
|
|
|
|
/**
|
|
* MOODLE VERSION INFORMATION
|
|
*
|
|
* This file defines the current version of the core Moodle code being used.
|
|
* This is compared against the values stored in the database to determine
|
|
* whether upgrades should be performed (see lib/db/*.php)
|
|
*
|
|
* @package core
|
|
* @copyright 1999 onwards Martin Dougiamas (http://dougiamas.com)
|
|
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
|
*/
|
|
|
|
defined('MOODLE_INTERNAL') || die();
|
|
|
|
|
|
$version = 2012031500.04; // YYYYMMDD = weekly release date of this DEV branch
|
|
// RR = release increments - 00 in DEV branches
|
|
// .XX = incremental changes
|
|
|
|
$release = '2.3dev (Build: 20120315)'; // Human-friendly version name
|
|
|
|
$maturity = MATURITY_ALPHA; // this version's maturity level
|