diff options
author | friendica <info@friendica.com> | 2014-09-03 22:15:44 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2014-09-03 22:15:44 -0700 |
commit | ed3310ada6cdc4b554ce1be4542ca25a3dd5bce0 (patch) | |
tree | e81f41b2104784272123d5666ffdd95b648529a3 /mod/acl.php | |
parent | 6ad9d9f8454b1a44800a406d9eeaaa45ed10e8da (diff) | |
download | volse-hubzilla-ed3310ada6cdc4b554ce1be4542ca25a3dd5bce0.tar.gz volse-hubzilla-ed3310ada6cdc4b554ce1be4542ca25a3dd5bce0.tar.bz2 volse-hubzilla-ed3310ada6cdc4b554ce1be4542ca25a3dd5bce0.zip |
remove feed items from ACL selector - there's nothing we can do with them and if we were to try we'd have to binary pack all the hashes
Diffstat (limited to 'mod/acl.php')
-rw-r--r-- | mod/acl.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/mod/acl.php b/mod/acl.php index fa399a9b5..5658a05c5 100644 --- a/mod/acl.php +++ b/mod/acl.php @@ -225,6 +225,11 @@ function acl_init(&$a){ if(count($r)) { foreach($r as $g){ + + // remove RSS feeds from ACLs - they are inaccessible + if(strpos($g['hash'],'/')) + continue; + if(($g['abook_their_perms'] & PERMS_W_TAGWALL) && $type == 'c') { $contacts[] = array( "type" => "c", |