]> git.mxchange.org Git - friendica.git/commitdiff
Dropping is now possible as well
authorMichael <heluecht@pirati.ca>
Sun, 7 Jan 2018 11:59:54 +0000 (11:59 +0000)
committerMichael <heluecht@pirati.ca>
Sun, 7 Jan 2018 11:59:54 +0000 (11:59 +0000)
src/Object/Post.php

index ebeaccb7edf5095920f787fe0c5f8de119846579..b0d44256387a5d36e0e99fbb74a204b1620d4300 100644 (file)
@@ -151,6 +151,7 @@ class Post extends BaseObject
                        } else {
                                $edpost = array("editpost/" . $item['id'], t("Edit"));
                        }
+                       $dropping = in_array($item['uid'], [0, local_user()]);
                } else {
                        $edpost = false;
                }