diff options
author | Mario <mario@mariovavti.com> | 2021-05-21 06:54:37 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2021-05-21 06:54:37 +0000 |
commit | 8211bc09d4ecb9af530826a105a1bd102feb9f2e (patch) | |
tree | 6c2543b1f5ddc6544f608736a27706e037cee906 | |
parent | 5705005ca3172f7f6fe56a61761de6a8a54a8f10 (diff) | |
download | volse-hubzilla-8211bc09d4ecb9af530826a105a1bd102feb9f2e.tar.gz volse-hubzilla-8211bc09d4ecb9af530826a105a1bd102feb9f2e.tar.bz2 volse-hubzilla-8211bc09d4ecb9af530826a105a1bd102feb9f2e.zip |
remove todo since the zot6 xchan should be merely imported in this case. also only return if we already have a result.
-rw-r--r-- | include/items.php | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/include/items.php b/include/items.php index 63edae972..d6dd517ba 100644 --- a/include/items.php +++ b/include/items.php @@ -983,10 +983,12 @@ function import_author_xchan($x) { ); // TODO: fix dupplicate with line 960 if(!$r) - discover_by_webbie($x['url'], 'zot6'); //TODO use the return of discover_by_webbie + discover_by_webbie($x['url'], 'zot6'); } - return $y; + if($y) + return $y; + } // perform zot6 discovery |