aboutsummaryrefslogtreecommitdiffstats
path: root/include/poller.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-03-26 22:05:19 -0700
committerfriendica <info@friendica.com>2014-03-26 22:05:19 -0700
commit5a3903a40c508a6b5e9a90986564e5c4918223cc (patch)
treea06da99eeb144b36b0c610f99d1236129c9f5226 /include/poller.php
parenta00c581e272af71eb064a1a29edd3334d9148d9d (diff)
downloadvolse-hubzilla-5a3903a40c508a6b5e9a90986564e5c4918223cc.tar.gz
volse-hubzilla-5a3903a40c508a6b5e9a90986564e5c4918223cc.tar.bz2
volse-hubzilla-5a3903a40c508a6b5e9a90986564e5c4918223cc.zip
firehose testing (network?f=&fh=1) - some possible security bugs so testing purposes only
Diffstat (limited to 'include/poller.php')
-rw-r--r--include/poller.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/poller.php b/include/poller.php
index d873058a6..9b8ac4165 100644
--- a/include/poller.php
+++ b/include/poller.php
@@ -176,6 +176,7 @@ function poller_run($argv, $argc){
if($r) {
$feedurl = $r[0]['site_url'] . '/zotfeed?f=&mindate=' . urlencode(datetime_convert('','','now - 15 days'));
$x = z_fetch_url($feedurl);
+
if(($x) && ($x['success'])) {
$total = 0;
$j = json_decode($x['body'],true);