From a8333dd4d5735ec37a14b75956b45c83fde19688 Mon Sep 17 00:00:00 2001 From: Igor Scheller Date: Tue, 7 Apr 2020 16:28:03 +0200 Subject: [PATCH] Only show "iCal export and API" on own profile page It's confusing to see it on other profile pages --- includes/view/User_view.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/view/User_view.php b/includes/view/User_view.php index ec1c7434..fb65d2c7 100644 --- a/includes/view/User_view.php +++ b/includes/view/User_view.php @@ -664,7 +664,7 @@ function User_view( page_link_to('user_shifts') ), true) : '', - ical_hint() + $its_me ? ical_hint() : '' ] ); }