mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 08:56:36 +02:00
MDL-28134 General : fixed CFG->branch notice during web/cli installation
This commit is contained in:
parent
ed01233ace
commit
ad394588db
2 changed files with 6 additions and 0 deletions
|
@ -409,8 +409,11 @@ function install_cli_database(array $options, $interactive) {
|
|||
|
||||
$CFG->version = '';
|
||||
$CFG->release = '';
|
||||
$CFG->branch = '';
|
||||
|
||||
$version = null;
|
||||
$release = null;
|
||||
$branch = null;
|
||||
|
||||
// read $version and $release
|
||||
require($CFG->dirroot.'/version.php');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue