and don't send duplicate notices <sigh>
This commit is contained in:
parent
ea511c67c7
commit
1c315caa28
@ -141,9 +141,6 @@ function channel_content(&$a, $update = 0, $load = false) {
|
|||||||
intval($a->profile['profile_uid']),
|
intval($a->profile['profile_uid']),
|
||||||
intval(ITEM_WALL)
|
intval(ITEM_WALL)
|
||||||
);
|
);
|
||||||
if (! $r) {
|
|
||||||
notice( t('Permission denied.') . EOL);
|
|
||||||
}
|
|
||||||
} else {
|
} else {
|
||||||
$r = q("SELECT distinct parent AS `item_id` from item
|
$r = q("SELECT distinct parent AS `item_id` from item
|
||||||
left join abook on item.author_xchan = abook.abook_xchan
|
left join abook on item.author_xchan = abook.abook_xchan
|
||||||
|
Reference in New Issue
Block a user