aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Widget/Common_friends.php
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2022-02-21 10:02:33 +0000
committerMario <mario@mariovavti.com>2022-02-21 10:02:33 +0000
commita80454978181eebf7813a10c00b3166f66300b3f (patch)
tree7f68f93c3d3894ebc05a9382ea3d7449dfdc288a /Zotlabs/Widget/Common_friends.php
parent2a60f1cc6ed49ab559090c831788308fe3df0706 (diff)
downloadvolse-hubzilla-a80454978181eebf7813a10c00b3166f66300b3f.tar.gz
volse-hubzilla-a80454978181eebf7813a10c00b3166f66300b3f.tar.bz2
volse-hubzilla-a80454978181eebf7813a10c00b3166f66300b3f.zip
remove deprecated widgets and add some more widget descriptions
Diffstat (limited to 'Zotlabs/Widget/Common_friends.php')
-rw-r--r--Zotlabs/Widget/Common_friends.php8
1 files changed, 7 insertions, 1 deletions
diff --git a/Zotlabs/Widget/Common_friends.php b/Zotlabs/Widget/Common_friends.php
index a67b9312c..dfeeb41b0 100644
--- a/Zotlabs/Widget/Common_friends.php
+++ b/Zotlabs/Widget/Common_friends.php
@@ -1,5 +1,11 @@
<?php
+/**
+ * * Name: Common friends
+ * * Description: Display common friends to viitors
+ * * Requires: channel, articles, cards, wiki
+ */
+
namespace Zotlabs\Widget;
require_once('include/contact_widgets.php');
@@ -8,7 +14,7 @@ class Common_friends {
function widget($arr) {
- if((! \App::$profile['profile_uid'])
+ if((! \App::$profile['profile_uid'])
|| (! perm_is_allowed(\App::$profile['profile_uid'],get_observer_hash(),'view_contacts'))) {
return '';
}