From 592ef50e417a74cee40f021720c6b6a4694d69d0 Mon Sep 17 00:00:00 2001 From: Michael Date: Sun, 7 Jan 2018 11:59:54 +0000 Subject: [PATCH] Dropping is now possible as well --- src/Object/Post.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Object/Post.php b/src/Object/Post.php index ebeaccb7ed..b0d4425638 100644 --- a/src/Object/Post.php +++ b/src/Object/Post.php @@ -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; } -- 2.39.5