From: Eloy Lafuente (stronk7) Date: Mon, 7 Nov 2011 18:48:02 +0000 (+0100) Subject: MDL-20534 lti: B3, revert old outputlib hack for external icons X-Git-Tag: v2.2.0-beta~12^2~18 X-Git-Url: http://git.moodle.org/gw?p=moodle.git;a=commitdiff_plain;h=5e1f727df76639277bf4529a09e6ce7276f6c1c9 MDL-20534 lti: B3, revert old outputlib hack for external icons --- 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); } /**