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
This commit is contained in:
parent
6ad9d9f845
commit
ed3310ada6
@ -225,6 +225,11 @@ function acl_init(&$a){
|
|||||||
|
|
||||||
if(count($r)) {
|
if(count($r)) {
|
||||||
foreach($r as $g){
|
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') {
|
if(($g['abook_their_perms'] & PERMS_W_TAGWALL) && $type == 'c') {
|
||||||
$contacts[] = array(
|
$contacts[] = array(
|
||||||
"type" => "c",
|
"type" => "c",
|
||||||
|
Reference in New Issue
Block a user