aboutsummaryrefslogtreecommitdiffstats
path: root/mod/connections.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-01-03 16:17:22 -0800
committerfriendica <info@friendica.com>2013-01-03 16:17:22 -0800
commita103c96c4627e0a278f8d00df8612949ea8a59ca (patch)
tree38a9aba1329625bb9b1fb04e78582451624f41c2 /mod/connections.php
parentf8bd476b882e95b8bdb589ae74645d030ef198fd (diff)
downloadvolse-hubzilla-a103c96c4627e0a278f8d00df8612949ea8a59ca.tar.gz
volse-hubzilla-a103c96c4627e0a278f8d00df8612949ea8a59ca.tar.bz2
volse-hubzilla-a103c96c4627e0a278f8d00df8612949ea8a59ca.zip
add "refresh their permissions" function
Diffstat (limited to 'mod/connections.php')
-rw-r--r--mod/connections.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/mod/connections.php b/mod/connections.php
index e04fb6e63..b36ae78f8 100644
--- a/mod/connections.php
+++ b/mod/connections.php
@@ -169,6 +169,11 @@ function connections_content(&$a) {
}
+ if($cmd === 'refresh') {
+ zot_refresh($orig_record[0],get_app()->get_channel());
+ goaway($a->get_baseurl(true) . '/connections/' . $contact_id);
+ }
+
if($cmd === 'block') {
if(abook_toggle_flag($orig_record[0],ABOOK_FLAG_BLOCKED))
info((($orig_record[0]['abook_flags'] & ABOOK_FLAG_BLOCKED)