aboutsummaryrefslogtreecommitdiffstats
path: root/include/items.php
diff options
context:
space:
mode:
authorredmatrix <redmatrix@redmatrix.me>2015-06-11 16:11:59 -0700
committerredmatrix <redmatrix@redmatrix.me>2015-06-11 16:11:59 -0700
commit8812f183a288fa3da960c5b91107315080ecec1e (patch)
treea6ed87f175f4c95b8bafa3585e6383b0d78db312 /include/items.php
parentb2c5020af7f85d4fe423cd6284f9ada701eab247 (diff)
downloadvolse-hubzilla-8812f183a288fa3da960c5b91107315080ecec1e.tar.gz
volse-hubzilla-8812f183a288fa3da960c5b91107315080ecec1e.tar.bz2
volse-hubzilla-8812f183a288fa3da960c5b91107315080ecec1e.zip
the hubzilla version of this function
Diffstat (limited to 'include/items.php')
-rwxr-xr-xinclude/items.php12
1 files changed, 12 insertions, 0 deletions
diff --git a/include/items.php b/include/items.php
index c7dbbbda8..4532bf8d8 100755
--- a/include/items.php
+++ b/include/items.php
@@ -198,6 +198,18 @@ function item_normal() {
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;
+
+}
+
+
/**