diff options
author | zotlabs <mike@macgirvin.com> | 2020-05-05 19:42:00 -0700 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2020-05-05 19:42:00 -0700 |
commit | 79968ea07aa205e9c93993724d3f37362220b9d4 (patch) | |
tree | 053bbcc9c213bd2e1da2b4a1c464be771929b2c3 /Zotlabs/Daemon/Onepoll.php | |
parent | 7a0d9a449492ff3b5ef97b997310ed26ec1f53e4 (diff) | |
parent | 06d1cf83d2b1acfef5529fe388d2502bea381881 (diff) | |
download | volse-hubzilla-79968ea07aa205e9c93993724d3f37362220b9d4.tar.gz volse-hubzilla-79968ea07aa205e9c93993724d3f37362220b9d4.tar.bz2 volse-hubzilla-79968ea07aa205e9c93993724d3f37362220b9d4.zip |
Merge branch 'dev' of https://framagit.org/hubzilla/core into dev
Diffstat (limited to 'Zotlabs/Daemon/Onepoll.php')
-rw-r--r-- | Zotlabs/Daemon/Onepoll.php | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/Zotlabs/Daemon/Onepoll.php b/Zotlabs/Daemon/Onepoll.php index 2f06ec125..93a5412b0 100644 --- a/Zotlabs/Daemon/Onepoll.php +++ b/Zotlabs/Daemon/Onepoll.php @@ -2,6 +2,8 @@ namespace Zotlabs\Daemon; +use Zotlabs\Lib\Libzot; + require_once('include/zot.php'); require_once('include/socgraph.php'); @@ -76,7 +78,11 @@ class Onepoll { // update permissions - $x = zot_refresh($contact,$importer); + if($contact['xchan_network'] === 'zot6') + $x = Libzot::refresh($contact,$importer); + + if($contact['xchan_network'] === 'zot') + $x = zot_refresh($contact,$importer); $responded = false; $updated = datetime_convert(); |