diff options
author | Mario <mario@mariovavti.com> | 2025-05-15 12:55:44 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2025-05-15 12:55:44 +0000 |
commit | 5c3f2f94696b47fc8c5170eab973c496bedccbdc (patch) | |
tree | 2c75fadf63d9066f8da2db23413b025f0797d82b /Zotlabs/Module | |
parent | 6e21be2d947658197ff6c77a2d9fc401fc92a7d2 (diff) | |
download | volse-hubzilla-5c3f2f94696b47fc8c5170eab973c496bedccbdc.tar.gz volse-hubzilla-5c3f2f94696b47fc8c5170eab973c496bedccbdc.tar.bz2 volse-hubzilla-5c3f2f94696b47fc8c5170eab973c496bedccbdc.zip |
first part of cleanups for the conv libs and move thr_parent_uuid retrieval to sql
Diffstat (limited to 'Zotlabs/Module')
-rw-r--r-- | Zotlabs/Module/Photos.php | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/Zotlabs/Module/Photos.php b/Zotlabs/Module/Photos.php index 862298e82..5f6162ba7 100644 --- a/Zotlabs/Module/Photos.php +++ b/Zotlabs/Module/Photos.php @@ -1104,17 +1104,8 @@ class Photos extends \Zotlabs\Web\Controller { $alike = array(); $dlike = array(); - $conv_responses = array( - 'like' => array('title' => t('Likes','title')),'dislike' => array('title' => t('Dislikes','title')), - 'attendyes' => array('title' => t('Attending','title')), 'attendno' => array('title' => t('Not attending','title')), 'attendmaybe' => array('title' => t('Might attend','title')) - ); - if($r) { - foreach($r as $item) { - builtin_activity_puller($item, $conv_responses); - } - $like_count = ((x($alike,$link_item['mid'])) ? $alike[$link_item['mid']] : ''); $like_list = ((x($alike,$link_item['mid'])) ? $alike[$link_item['mid'] . '-l'] : ''); @@ -1224,7 +1215,7 @@ class Photos extends \Zotlabs\Web\Controller { $response_verbs[] = 'dislike'; } - $responses = get_responses($conv_responses,$response_verbs,'',$link_item); + $responses = get_responses($response_verbs, $link_item); } $hookdata = [ |