diff options
Diffstat (limited to 'include/acl_selectors.php')
-rw-r--r-- | include/acl_selectors.php | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/include/acl_selectors.php b/include/acl_selectors.php index 461ad0c36..8c45292cf 100644 --- a/include/acl_selectors.php +++ b/include/acl_selectors.php @@ -75,16 +75,10 @@ function contact_selector($selname, $selclass, $preselected = false, $options) { $networks = array('dfrn'); break; case 'PRIVATE': - if(is_array($a->user) && $a->user['prvnets']) - $networks = array('dfrn','mail','dspr'); - else - $networks = array('dfrn','face','mail', 'dspr'); + $networks = array('dfrn','face','mail', 'dspr'); break; case 'TWO_WAY': - if(is_array($a->user) && $a->user['prvnets']) - $networks = array('dfrn','mail','dspr'); - else - $networks = array('dfrn','face','mail','dspr','stat'); + $networks = array('dfrn','face','mail','dspr','stat'); break; default: break; |