mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Echo
synced 2024-09-24 10:49:37 +00:00
Merge "Use PROTO_CANONICAL for icon links in emails"
This commit is contained in:
commit
71075b9262
|
@ -192,8 +192,7 @@ abstract class EchoEmailMode {
|
||||||
$iconUrl = "$wgExtensionAssetsPath/$path";
|
$iconUrl = "$wgExtensionAssetsPath/$path";
|
||||||
}
|
}
|
||||||
|
|
||||||
// Use http for image path, there is no need for https
|
return wfExpandUrl( $iconUrl, PROTO_CANONICAL );
|
||||||
return wfExpandUrl( $iconUrl, PROTO_HTTP );
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue