Prechádzať zdrojové kódy

Merge remote-tracking branch 'origin/Logging' into dev

Alexandre Alapetite 11 rokov pred
rodič
commit
6032caad2f
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  1. 1 1
      lib/SimplePie/SimplePie/Misc.php

+ 1 - 1
lib/SimplePie/SimplePie/Misc.php

@@ -2246,7 +2246,7 @@ function embed_wmedia(width, height, link) {
 	 * @param $url the URL to sanitize.
 	 * @param $url the URL to sanitize.
 	 * @return the same URL without HTTP credentials.
 	 * @return the same URL without HTTP credentials.
 	 */
 	 */
-	function url_remove_credentials($url)	//FreshRSS
+	public static function url_remove_credentials($url)	//FreshRSS
 	{
 	{
 		return preg_replace('#^(https?://)[^/:@]+:[^/:@]+@#i', '$1', $url);
 		return preg_replace('#^(https?://)[^/:@]+:[^/:@]+@#i', '$1', $url);
 	}
 	}