MDL-28134 General : fixed CFG->branch notice during web/cli installation
This commit is contained in:
@@ -95,6 +95,9 @@ if (!isset($CFG->release)) {
|
||||
if (!isset($CFG->version)) {
|
||||
$CFG->version = '';
|
||||
}
|
||||
if (!isset($CFG->branch)) {
|
||||
$CFG->branch = '';
|
||||
}
|
||||
|
||||
$version = null;
|
||||
$release = null;
|
||||
|
||||
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user