mirror of
https://git.friendi.ca/friendica/friendica.git
synced 2025-06-07 18:44:26 +02:00
Individual callstacks are removed from the logger
This commit is contained in:
parent
d05fbe6e45
commit
e4a37f344e
36 changed files with 66 additions and 86 deletions
|
@ -962,7 +962,7 @@ class User
|
|||
public static function getAvatarUrl(array $user, string $size = ''): string
|
||||
{
|
||||
if (empty($user['nickname'])) {
|
||||
DI::logger()->warning('Missing user nickname key', ['trace' => System::callstack(20)]);
|
||||
DI::logger()->warning('Missing user nickname key');
|
||||
}
|
||||
|
||||
$url = DI::baseUrl() . '/photo/';
|
||||
|
@ -1004,7 +1004,7 @@ class User
|
|||
public static function getBannerUrl(array $user): string
|
||||
{
|
||||
if (empty($user['nickname'])) {
|
||||
DI::logger()->warning('Missing user nickname key', ['trace' => System::callstack(20)]);
|
||||
DI::logger()->warning('Missing user nickname key');
|
||||
}
|
||||
|
||||
$url = DI::baseUrl() . '/photo/banner/';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue