Revert "Fix URL is blocked message when not behind a proxy/load balancer"

This reverts commit 51db933862.
This commit is contained in:
Tomo Tsuyuki
2026-06-18 11:46:03 +10:00
committed by Brendan Heywood
parent 20fef09b03
commit 9bab491666
3 changed files with 3 additions and 36 deletions
+1 -1
View File
@@ -56,7 +56,7 @@ class outagelib {
global $CFG;
require_once($CFG->libdir . '/filelib.php');
$curl = new curl(['ignoresecurity' => true]);
$curl = new curl();
$contents = $curl->get($file);
$info = $curl->get_info();
if (!empty($info['content_type'])) {