From 4da4f2367fe6d260709c02ec9750e03c61e7a31b Mon Sep 17 00:00:00 2001 From: Max Kostikov Date: Wed, 20 Jan 2021 13:18:48 +0100 Subject: Use Zot6 on pinned content sync between clones --- Zotlabs/Module/Pin.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Zotlabs/Module/Pin.php b/Zotlabs/Module/Pin.php index 63b28754b..af949c0eb 100644 --- a/Zotlabs/Module/Pin.php +++ b/Zotlabs/Module/Pin.php @@ -6,8 +6,9 @@ namespace Zotlabs\Module; */ use App; +use Zotlabs\Lib\Libsync; -class Pin extends \Zotlabs\Web\Controller { +class Pin extends Zotlabs\Web\Controller { function init() { @@ -64,6 +65,6 @@ class Pin extends \Zotlabs\Web\Controller { http_status_exit(404, 'Not found'); } - build_sync_packet($r[0]['uid'], [ 'config' ]); + Libsync::build_sync_packet($r[0]['uid'], [ 'config' ]); } } -- cgit v1.2.3 From 15b2aa660ba99b7a17aa811041a40739f258672f Mon Sep 17 00:00:00 2001 From: Max Kostikov Date: Wed, 20 Jan 2021 13:53:09 +0100 Subject: Update Pin.php --- Zotlabs/Module/Pin.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Zotlabs/Module/Pin.php b/Zotlabs/Module/Pin.php index af949c0eb..e02fb017b 100644 --- a/Zotlabs/Module/Pin.php +++ b/Zotlabs/Module/Pin.php @@ -8,7 +8,7 @@ namespace Zotlabs\Module; use App; use Zotlabs\Lib\Libsync; -class Pin extends Zotlabs\Web\Controller { +class Pin extends \Zotlabs\Web\Controller { function init() { -- cgit v1.2.3