Browse files

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

… check against released one
  • Loading branch information...
1 parent 168bbfa commit 6326668d2b62767d1c8aeceb1123d02ee40e725c stronk7 committed Feb 13, 2009
Showing with 1 addition and 0 deletions.
  1. +1 −0 admin/index.php
View
1 admin/index.php
@@ -281,6 +281,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)) {
print_box_start('generalbox', 'notice'); // MDL-8330
print_string('langpackwillbeupdated', 'admin');

0 comments on commit 6326668

Please sign in to comment.