From d06717798b717c0b754d7a5051fa437d22b07067 Mon Sep 17 00:00:00 2001 From: Michael Vogel Date: Sun, 6 Dec 2015 18:57:23 +0100 Subject: [PATCH] Code beautification --- include/Scrape.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/Scrape.php b/include/Scrape.php index b7df8e04f..6ee3dabfc 100644 --- a/include/Scrape.php +++ b/include/Scrape.php @@ -632,7 +632,9 @@ function probe_url($url, $mode = PROBE_NORMAL, $level = 1) { if ($connectornetworks) $check_feed = false; + if($check_feed) { + $feedret = scrape_feed(($poll) ? $poll : $url); logger('probe_url: scrape_feed ' . (($poll)? $poll : $url) . ' returns: ' . print_r($feedret,true), LOGGER_DATA); @@ -760,7 +762,6 @@ function probe_url($url, $mode = PROBE_NORMAL, $level = 1) { if (isset($noscrapedata["dfrn-poll"])) $poll = $noscrapedata["dfrn-poll"]; -// print_r($noscrapedata); } }