mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 00:16:46 +02:00

Two new scheduled tasks, show_started_courses_task and hide_ended_courses_task have been added, to automatically change the course visibility when the start/end course date match the current one. They are disabled by default, to keep the current behaviour. When admins enable any of them, they are executed once per day by default (around midnight). These scheduled tasks are based on the "CUL Course Visibility Update" third-party plugin created by Tim Gagen and refactored and currently maintained by Amanda Doughty: https://moodle.org/plugins/local_culcourse_visibility Thanks!! :-)
37 lines
1.6 KiB
PHP
37 lines
1.6 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 = 2023062900.01; // YYYYMMDD = weekly release date of this DEV branch.
|
|
// RR = release increments - 00 in DEV branches.
|
|
// .XX = incremental changes.
|
|
$release = '4.3dev (Build: 20230629)'; // Human-friendly version name
|
|
$branch = '403'; // This version's branch.
|
|
$maturity = MATURITY_ALPHA; // This version's maturity level.
|