mirror of
https://git.friendi.ca/friendica/friendica.git
synced 2025-06-10 08:54:27 +02:00
Changed function name
This commit is contained in:
parent
9f01052dd2
commit
b8fa75b2dd
34 changed files with 54 additions and 54 deletions
|
@ -56,7 +56,7 @@ class Crop extends BaseSettings
|
|||
$selectionW = intval($_POST['width'] ?? 0);
|
||||
$selectionH = intval($_POST['height'] ?? 0);
|
||||
|
||||
$path = 'profile/' . DI::app()->getNickname();
|
||||
$path = 'profile/' . DI::app()->getUserNickname();
|
||||
|
||||
$base_image = Photo::selectFirst([], ['resource-id' => $resource_id, 'uid' => local_user(), 'scale' => $scale]);
|
||||
if (DBA::isResult($base_image)) {
|
||||
|
@ -184,7 +184,7 @@ class Crop extends BaseSettings
|
|||
|
||||
info(DI::l10n()->t('Profile picture successfully updated.'));
|
||||
|
||||
DI::baseUrl()->redirect('profile/' . DI::app()->getNickname());
|
||||
DI::baseUrl()->redirect('profile/' . DI::app()->getUserNickname());
|
||||
}
|
||||
|
||||
$Image = Photo::getImageForPhoto($photos[0]);
|
||||
|
|
|
@ -133,7 +133,7 @@ class Index extends BaseSettings
|
|||
DI::l10n()->t('or'),
|
||||
($newuser) ?
|
||||
'<a href="' . DI::baseUrl() . '">' . DI::l10n()->t('skip this step') . '</a>'
|
||||
: '<a href="' . DI::baseUrl() . '/photos/' . DI::app()->getNickname() . '">'
|
||||
: '<a href="' . DI::baseUrl() . '/photos/' . DI::app()->getUserNickname() . '">'
|
||||
. DI::l10n()->t('select a photo from your photo albums') . '</a>'
|
||||
),
|
||||
]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue