aboutsummaryrefslogtreecommitdiffstats
path: root/include/items.php
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-06-20 16:33:53 -0700
committerzotlabs <mike@macgirvin.com>2017-06-20 16:33:53 -0700
commit0233e9ad2a8c210f29c553a791b85d52cd6d5d85 (patch)
treedfcb34495e9bfb487f7bccd68c3c002e23ee88d5 /include/items.php
parent31e08127118b81ef223c13966e80f6d448d385d3 (diff)
downloadvolse-hubzilla-0233e9ad2a8c210f29c553a791b85d52cd6d5d85.tar.gz
volse-hubzilla-0233e9ad2a8c210f29c553a791b85d52cd6d5d85.tar.bz2
volse-hubzilla-0233e9ad2a8c210f29c553a791b85d52cd6d5d85.zip
still an issue with caching import_author_zot
Diffstat (limited to 'include/items.php')
-rwxr-xr-xinclude/items.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/items.php b/include/items.php
index 9e1d5c1ba..126f0a174 100755
--- a/include/items.php
+++ b/include/items.php
@@ -803,6 +803,10 @@ function import_author_xchan($x) {
$y = import_author_zot($x);
}
+ // if we were told that it's a zot connection, don't probe/import anything else
+ if(array_key_exists('network',$x) && $x['network'] === 'zot')
+ return $y;
+
if($x['network'] === 'rss') {
$y = import_author_rss($x);
}