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
2026-07-12 22:15:41 +01:00
parent 6aad6d37ba
commit 1b2979f8e6
12 changed files with 27 additions and 40 deletions
+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 = '';