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

This reverts commit 51db933862.
This commit is contained in:
Tomo Tsuyuki authored and Brendan Heywood committed 2026-06-18 12:00:26 +10:00
1 parent 20fef09b03
commit 9bab491666
3 files changed
+3 -36

No files matched your search

+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'])) {