and don't send duplicate notices <sigh>

This commit is contained in:
zottel 2014-01-10 13:41:25 +01:00
parent ea511c67c7
commit 1c315caa28

View File

@ -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