diff options
author | Mario <mario@mariovavti.com> | 2020-04-09 09:38:36 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2020-04-09 09:38:36 +0000 |
commit | 328685d2fbe505fd5b1bf9892a0cce993210ac52 (patch) | |
tree | 5c2a800872074fa86c284e95382dc6d535cfd9b2 /Zotlabs/Module/Like.php | |
parent | 806c738923b9d880af49a1811d8fbf2c2ee36309 (diff) | |
download | volse-hubzilla-328685d2fbe505fd5b1bf9892a0cce993210ac52.tar.gz volse-hubzilla-328685d2fbe505fd5b1bf9892a0cce993210ac52.tar.bz2 volse-hubzilla-328685d2fbe505fd5b1bf9892a0cce993210ac52.zip |
move from build_sync_packet() to Libsync::build_sync_packet()
Diffstat (limited to 'Zotlabs/Module/Like.php')
-rw-r--r-- | Zotlabs/Module/Like.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Zotlabs/Module/Like.php b/Zotlabs/Module/Like.php index e4636a4a6..61f73bfd5 100644 --- a/Zotlabs/Module/Like.php +++ b/Zotlabs/Module/Like.php @@ -2,6 +2,7 @@ namespace Zotlabs\Module; use Zotlabs\Lib\Activity; +use Zotlabs\Lib\Libsync; require_once('include/security.php'); require_once('include/bbcode.php'); @@ -235,7 +236,7 @@ class Like extends \Zotlabs\Web\Controller { if($z) { $z[0]['deleted'] = 1; - build_sync_packet($ch[0]['channel_id'],array('likes' => $z)); + Libsync::build_sync_packet($ch[0]['channel_id'],array('likes' => $z)); q("delete from likes where id = %d", intval($z[0]['id']) @@ -566,7 +567,7 @@ class Like extends \Zotlabs\Web\Controller { dbesc($obj_id) ); if($r) - build_sync_packet($ch[0]['channel_id'],array('likes' => $r)); + Libsync::build_sync_packet($ch[0]['channel_id'],array('likes' => $r)); } |