hubzilla compatibility function
This commit is contained in:
parent
04551ac32b
commit
dc7de12991
@ -192,6 +192,20 @@ function comments_are_now_closed($item) {
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief
|
||||
*
|
||||
* This is a compatibility function primarily for plugins, because
|
||||
* in future hubzilla (and later) DB schemas the definition of a
|
||||
* normal item gets a bit more complicated.
|
||||
*
|
||||
*/
|
||||
|
||||
function is_item_normal($item) {
|
||||
return((intval($item['item_restrict'])) ? false : true);
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @brief
|
||||
|
@ -1 +1 @@
|
||||
2015-06-10.1059
|
||||
2015-06-11.1060
|
||||
|
Reference in New Issue
Block a user