add "refresh their permissions" function

This commit is contained in:
friendica 2013-01-03 16:17:22 -08:00
parent f8bd476b88
commit a103c96c46

View File

@ -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)