From c795c0aa10f7d404a96ac893d3ba2972724d8511 Mon Sep 17 00:00:00 2001 From: Bernhard Posselt Date: Tue, 2 Apr 2013 12:04:45 +0200 Subject: 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 --- utility/feedfetcher.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'utility/feedfetcher.php') 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); -- cgit v1.2.3