since we have the app bin we do not actually need the profile tabs for ourself

This commit is contained in:
Mario Vavti 2017-03-20 14:09:27 +01:00
parent 37d350c3f5
commit cfdf1def2a

View file

@ -1784,6 +1784,9 @@ function profile_tabs($a, $is_owner = false, $nickname = null){
$uid = ((App::$profile['profile_uid']) ? App::$profile['profile_uid'] : local_channel());
$account_id = ((App::$profile['profile_uid']) ? App::$profile['channel_account_id'] : App::$channel['channel_account_id']);
if ($uid == local_channel())
return;
if($uid == local_channel()) {
$cal_link = '';
}