the hubzilla version of this function
This commit is contained in:
parent
b2c5020af7
commit
8812f183a2
@ -198,6 +198,18 @@ function item_normal() {
|
|||||||
and item.item_blocked = 0 ";
|
and item.item_blocked = 0 ";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function is_item_normal($item) {
|
||||||
|
|
||||||
|
if(intval($item['item_hidden')) || intval($item['item_type')) || intval($item['item_deleted'))
|
||||||
|
|| intval($item['item_unpublished')) || intval($item['item_delayed')) || intval($item['item_pending_remove']))
|
||||||
|
|| intval($item['item_blocked')))
|
||||||
|
return false;
|
||||||
|
|
||||||
|
return true;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user