mirror of
https://github.com/moodle/moodle.git
synced 2025-04-03 15:32:43 +02:00
Since this is checked in several locations, I have introduced a new protected function to check whether the current page is a login page. This could potentially be exposed as a public function, but Sam's original comment suggests that this is undesirable.