diff options
author | redmatrix <redmatrix@redmatrix.me> | 2015-06-11 17:56:56 -0700 |
---|---|---|
committer | redmatrix <redmatrix@redmatrix.me> | 2015-06-11 17:56:56 -0700 |
commit | 5733491ac853b4af5d4829d68e870f3d82ced3c8 (patch) | |
tree | e90b5ee0f46e37e239cf9df51e6e45adf7b7d454 /doc/plugins.bb | |
parent | 8812f183a288fa3da960c5b91107315080ecec1e (diff) | |
parent | bc8840eab5298aef6902ac0751adf91df5232188 (diff) | |
download | volse-hubzilla-5733491ac853b4af5d4829d68e870f3d82ced3c8.tar.gz volse-hubzilla-5733491ac853b4af5d4829d68e870f3d82ced3c8.tar.bz2 volse-hubzilla-5733491ac853b4af5d4829d68e870f3d82ced3c8.zip |
more work on items
and
Merge branch 'master' of https://github.com/redmatrix/redmatrix
Conflicts:
include/items.php
view/it/messages.po
view/it/strings.php
Diffstat (limited to 'doc/plugins.bb')
-rw-r--r-- | doc/plugins.bb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/plugins.bb b/doc/plugins.bb index fdabbb7ab..f74276038 100644 --- a/doc/plugins.bb +++ b/doc/plugins.bb @@ -97,8 +97,8 @@ Let's go ahead and add some code to implement our post_local hook handler. if(local_channel() != $item['uid']) /* Does this person own the post? */
return;
- if(($item['parent']) || ($item['item_restrict'])) {
- /* If the item has a parent, or item_restrict is non-zero, this is a comment or something else, not a status post. */
+ if(($item['parent']) || (! is_item_normal($item))) {
+ /* If the item has a parent, or is not "normal", this is a comment or something else, not a status post. */
return;
}
|