Code cleanup to meet code standards.

This commit is contained in:
Daniel Thee Roperto
2016-11-14 19:20:46 +11:00
parent 5961e82b85
commit 7f264a85da
5 changed files with 22 additions and 14 deletions

View File

@@ -54,6 +54,11 @@ header('Pragma: ');
header('Cache-Control: public, max-age='.$lifetime);
header('Accept-Ranges: none');
/**
* Callback used in bootstrap.
* @SupressWarnings(PHPMD)
*/
function auth_outage_bootstrap_callback() {
global $CFG;
@@ -72,8 +77,8 @@ function auth_outage_bootstrap_callback() {
}
readfile($file);
die();
};
exit(0);
}
require_once(__DIR__.'/../../config.php');