From 5e1f727df76639277bf4529a09e6ce7276f6c1c9 Mon Sep 17 00:00:00 2001 From: "Eloy Lafuente (stronk7)" Date: Mon, 7 Nov 2011 19:48:02 +0100 Subject: [PATCH] MDL-20534 lti: B3, revert old outputlib hack for external icons --- lib/outputlib.php | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/lib/outputlib.php b/lib/outputlib.php index efbf61660a8..8feae4c83d5 100644 --- a/lib/outputlib.php +++ b/lib/outputlib.php @@ -911,12 +911,7 @@ class theme_config { $params['component'] = $component; } - //Allow references to images on other sites. - if(strstr($imagename, '://')){ - return $imagename; - } else { - return new moodle_url("$CFG->httpswwwroot/theme/image.php", $params); - } + return new moodle_url("$CFG->httpswwwroot/theme/image.php", $params); } /** -- 2.43.0