mirror of
https://github.com/friendica/friendica
synced 2025-04-27 14:30:11 +00:00
old boot.php functions replaced in src/module (3)
This commit is contained in:
parent
83390d4b00
commit
ae6d67ed1f
22 changed files with 158 additions and 147 deletions
|
@ -56,7 +56,7 @@ class Common extends BaseProfile
|
|||
throw new HTTPException\ForbiddenException(DI::l10n()->t('Permission denied.'));
|
||||
}
|
||||
|
||||
$displayCommonTab = Session::isAuthenticated() && $profile['uid'] != local_user();
|
||||
$displayCommonTab = Session::isAuthenticated() && $profile['uid'] != Session::getLocalUser();
|
||||
|
||||
if (!$displayCommonTab) {
|
||||
$a->redirect('profile/' . $nickname . '/contacts');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue