mirror of
https://github.com/catalyst/moodle-auth_outage.git
synced 2026-10-22 10:18:06 +02:00
Moodle code style fix.
This commit is contained in:
1 parent
0380c6ebec
commit
efbdb77ae6
2 files changed
+2
-4
No files matched your search
@@ -66,8 +66,7 @@ class maintenance_static_page_io {
|
||||
$result = outagelib::fetch_page($file);
|
||||
} else {
|
||||
$result = ['contents' => @file_get_contents($file)];
|
||||
$result['mime'] = (new finfo(FILEINFO_MIME_TYPE))
|
||||
->buffer($result['contents']); // Not perfect, but try guessing it.
|
||||
$result['mime'] = (new finfo(FILEINFO_MIME_TYPE))->buffer($result['contents']); // Try guessing it.
|
||||
}
|
||||
|
||||
if ($result['contents'] === false) {
|
||||
|
||||
Reference in new issue
Block a user