mirror of
https://github.com/moodle/moodle.git
synced 2025-07-24 07:41:40 +02:00
The method should check against $CFG->disableupdatenotifications and not $CFG->disableupdateautodeploy. This had to be a copy&paste mistake from the \core\update\deployer::enabled(). While looking at it, I also fixed couple of places where this method should and could be used.