MDL-32610 available updates info at the admin Notifications page can be hidden

This commit is contained in:
David Mudrak 2012-05-15 14:30:47 +02:00
parent fa1d403f2e
commit 4db58f5fc7
2 changed files with 5 additions and 2 deletions

View file

@ -240,7 +240,9 @@ if ($version > $CFG->version) { // upgrade
if ($fetchupdates) {
// no sesskey support guaranteed here
available_update_checker::instance()->fetch();
if (empty($CFG->disableupdatenotifications)) {
available_update_checker::instance()->fetch();
}
redirect($reloadurl);
}