diff options
author | zotlabs <mike@macgirvin.com> | 2017-06-20 16:33:53 -0700 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2017-06-20 16:33:53 -0700 |
commit | 0233e9ad2a8c210f29c553a791b85d52cd6d5d85 (patch) | |
tree | dfcb34495e9bfb487f7bccd68c3c002e23ee88d5 | |
parent | 31e08127118b81ef223c13966e80f6d448d385d3 (diff) | |
download | volse-hubzilla-0233e9ad2a8c210f29c553a791b85d52cd6d5d85.tar.gz volse-hubzilla-0233e9ad2a8c210f29c553a791b85d52cd6d5d85.tar.bz2 volse-hubzilla-0233e9ad2a8c210f29c553a791b85d52cd6d5d85.zip |
still an issue with caching import_author_zot
-rwxr-xr-x | include/items.php | 4 |
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); } |