Permalink
Browse files

MDL-9796 upgrade & env - delete dataroot's environmetal info to force…

… check against released one ; merged from 18_STABLE
  • Loading branch information...
1 parent 5c211a8 commit bfe073b05dcfa7a682282b75b30b5303c4634497 stronk7 committed Feb 13, 2009
Showing with 1 addition and 0 deletions.
  1. +1 −0 admin/index.php
View
@@ -290,6 +290,7 @@
require_once($CFG->libdir.'/environmentlib.php');
print_heading(get_string('environment', 'admin'));
+ remove_dir($CFG->dataroot . '/environment'); /// Always delete downloaded env. info to force use of the released one. MDL-9796
if (!check_moodle_environment($release, $environment_results, true)) {
if (empty($CFG->skiplangupgrade)) {
print_box_start('generalbox', 'notice'); // MDL-8330

0 comments on commit bfe073b

Please sign in to comment.