diff options
author | Bernhard Posselt <nukeawhale@gmail.com> | 2013-04-02 12:04:45 +0200 |
---|---|---|
committer | Bernhard Posselt <nukeawhale@gmail.com> | 2013-04-02 12:04:45 +0200 |
commit | c795c0aa10f7d404a96ac893d3ba2972724d8511 (patch) | |
tree | 56b8a9bc27379ac0fb28d21abd831acf8eaef13f /utility/feedfetcher.php | |
parent | bd7d13ce963f286459684934257a6a1e61d7bfc7 (diff) |
fix #11 by not relying on db exceptions anymore since there is no fking proper exception handling in the owncloud db code and stuff will break. instead update when item has been found and if not insert
Diffstat (limited to 'utility/feedfetcher.php')
-rw-r--r-- | utility/feedfetcher.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/utility/feedfetcher.php b/utility/feedfetcher.php index bf8cbd35b..54c416d71 100644 --- a/utility/feedfetcher.php +++ b/utility/feedfetcher.php @@ -125,7 +125,7 @@ class FeedFetcher implements IFeedFetcher { } - public function checkFavicon($favicon) { + private function checkFavicon($favicon) { if ($favicon === null || $favicon == false) return false; @@ -146,7 +146,7 @@ class FeedFetcher implements IFeedFetcher { } - public function discoverFavicon($url) { + private function discoverFavicon($url) { //try webroot favicon $favicon = \SimplePie_Misc::absolutize_url('/favicon.ico', $url); |