WR #490867 auth_outage Review changes - code cleanup: fix exception chaining, remove dead code, code style fixes, initialise variable, add missing PHPDoc, add database indexes

This commit is contained in:
Waleed Hassan committed 2026-07-12 22:15:41 +01:00
1 parent 6aad6d37ba
commit 1b2979f8e6
12 files changed
+27 -40

No files matched your search

+1
View File
@@ -69,6 +69,7 @@ if (is_callable('auth_outage_bootstrap_callback')) {
}
// 3) Check for allowed scripts or IPs during outages.
$outageinfo = false;
if (!empty($_SERVER['REQUEST_URI'])) {
$rooturl = parse_url($CFG->wwwroot);
$path = '';