From 8b90e5c0773145075575a2c822addccfff693a76 Mon Sep 17 00:00:00 2001 From: Michael Vogel Date: Sat, 16 Jan 2016 14:46:00 +0100 Subject: [PATCH] Removed unused functionality --- mod/display.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/mod/display.php b/mod/display.php index c53e92d05b..ca57af9233 100644 --- a/mod/display.php +++ b/mod/display.php @@ -340,6 +340,10 @@ function display_content(&$a, $update = 0) { return; } + // Why do we need this on the display page? We don't have the possibility to write new content here. + // Ad editing of posts work without this as well. + // We should remove this completely for the 3.5.1 release. + /* if ($is_owner) { $x = array( 'is_owner' => true, @@ -355,6 +359,7 @@ function display_content(&$a, $update = 0) { ); $o .= status_editor($a,$x,0,true); } + */ $sql_extra = item_permissions_sql($a->profile['uid'],$remote_contact,$groups);