Commit f8fb9464 authored by renatog's avatar renatog Committed by Renato Goncalves de Araujo
Browse files

Issue #2911860 by RenatoG: Fix tests items results

parent 1947a815
......@@ -1372,11 +1372,6 @@ function link_validate_url($text, $langcode = NULL) {
* The url to clean up the relative protocol.
*/
function _link_clean_relative($url) {
if ($url[0] == '/' && $url[1] != '/') {
$url = substr($url, 1);
}
$check = substr($url, 0, 2);
if (isset($_SERVER['HTTPS']) &&
($_SERVER['HTTPS'] == 'on' || $_SERVER['HTTPS'] == 1) ||
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment