aboutsummaryrefslogtreecommitdiffstats
path: root/include/acl_selectors.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-07-16 16:33:31 -0700
committerfriendica <info@friendica.com>2012-07-16 16:33:31 -0700
commit44638184c322ce84e94d7135426f95bb3427d018 (patch)
tree060d2ecada5e7a4748b1495c093b6fbb66f0dd45 /include/acl_selectors.php
parent5902e0983d8a17e34674855bee36b75a82bff8cb (diff)
downloadvolse-hubzilla-44638184c322ce84e94d7135426f95bb3427d018.tar.gz
volse-hubzilla-44638184c322ce84e94d7135426f95bb3427d018.tar.bz2
volse-hubzilla-44638184c322ce84e94d7135426f95bb3427d018.zip
the pioneers should at least have a current db - it will likely be some time before db updates go into this tree as many incompatible things are changing and cannot be automatically migrated, so it will probably mean frequent reinstalls.
Diffstat (limited to 'include/acl_selectors.php')
-rw-r--r--include/acl_selectors.php10
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;