diff options
| author | 2015-03-24 21:58:00 +0100 | |
|---|---|---|
| committer | 2015-03-24 21:58:00 +0100 | |
| commit | 2bfc4dbf8b19cd2b892526ef65a966ff3bfef718 (patch) | |
| tree | f54cfb997ded8278905624a568fd56269381fb78 /lib/SimplePie | |
| parent | 7735471140e1c6087a177192a09c7fb849decd77 (diff) | |
SimplePie forgot static keyword
https://github.com/FreshRSS/FreshRSS/issues/711
Diffstat (limited to 'lib/SimplePie')
| -rw-r--r-- | lib/SimplePie/SimplePie/Misc.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/SimplePie/SimplePie/Misc.php b/lib/SimplePie/SimplePie/Misc.php index 91549f93a..956a284cb 100644 --- a/lib/SimplePie/SimplePie/Misc.php +++ b/lib/SimplePie/SimplePie/Misc.php @@ -2246,7 +2246,7 @@ function embed_wmedia(width, height, link) { * @param $url the URL to sanitize. * @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); } |
