diff options
author | Mario <mario@mariovavti.com> | 2021-10-04 08:46:56 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2021-10-04 08:46:56 +0000 |
commit | 538e54053126ed4adf200802fb9298ec3212b085 (patch) | |
tree | 1a51d35bd913a1cad502b345d15b8e9d610d06bd /Zotlabs/Lib/Libsync.php | |
parent | 53138f4b09e8087cb6af4ae5294664bdf677d053 (diff) | |
download | volse-hubzilla-538e54053126ed4adf200802fb9298ec3212b085.tar.gz volse-hubzilla-538e54053126ed4adf200802fb9298ec3212b085.tar.bz2 volse-hubzilla-538e54053126ed4adf200802fb9298ec3212b085.zip |
commment out deprecated code
Diffstat (limited to 'Zotlabs/Lib/Libsync.php')
-rw-r--r-- | Zotlabs/Lib/Libsync.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Zotlabs/Lib/Libsync.php b/Zotlabs/Lib/Libsync.php index 9118813a7..2b47fcf1a 100644 --- a/Zotlabs/Lib/Libsync.php +++ b/Zotlabs/Lib/Libsync.php @@ -255,8 +255,8 @@ class Libsync { if (array_key_exists('chatroom', $arr) && $arr['chatroom']) sync_chatrooms($channel, $arr['chatroom']); - if (array_key_exists('mail', $arr) && $arr['mail']) - sync_mail($channel, $arr['mail']); + //if (array_key_exists('mail', $arr) && $arr['mail']) + // sync_mail($channel, $arr['mail']); if (array_key_exists('event', $arr) && $arr['event']) sync_events($channel, $arr['event']); @@ -270,8 +270,8 @@ class Libsync { // deprecated, maintaining for a few months for upward compatibility // this should sync webpages, but the logic is a bit subtle - if (array_key_exists('item_id', $arr) && $arr['item_id']) - sync_items($channel, $arr['item_id']); + //if (array_key_exists('item_id', $arr) && $arr['item_id']) + // sync_items($channel, $arr['item_id']); if (array_key_exists('menu', $arr) && $arr['menu']) sync_menus($channel, $arr['menu']); |