Explorar o código

SimplePie force HTTPS simplifie code

https://github.com/FreshRSS/FreshRSS/issues/1083
https://github.com/FreshRSS/FreshRSS/pull/1087
Alexandre Alapetite %!s(int64=10) %!d(string=hai) anos
pai
achega
9e2e5fd594
Modificáronse 1 ficheiros con 0 adicións e 4 borrados
  1. 0 4
      lib/SimplePie/SimplePie/Sanitize.php

+ 0 - 4
lib/SimplePie/SimplePie/Sanitize.php

@@ -292,10 +292,6 @@ class SimplePie_Sanitize
 		$node =& $this->https_domains;
 		foreach ($segments as $segment)
 		{//Explore the tree
-			if ($node === true)
-			{
-				return true;
-			}
 			if (isset($node[$segment]))
 			{
 				$node =& $node[$segment];