mirror of
https://github.com/friendica/friendica
synced 2025-04-25 21:50:12 +00:00
Partially revert changes for the RC
This commit is contained in:
parent
10bdaa0cfe
commit
bb349a7db4
5 changed files with 33 additions and 28 deletions
|
@ -890,6 +890,9 @@ class User
|
|||
if (in_array($photo['type'], ['image/png', 'image/gif'])) {
|
||||
$imagetype = IMAGETYPE_PNG;
|
||||
}
|
||||
} else {
|
||||
// Only for the RC phase: Don't return an image link for the default picture
|
||||
return '';
|
||||
}
|
||||
|
||||
return $url . $user['nickname'] . image_type_to_extension($imagetype) . ($updated ? '?ts=' . strtotime($updated) : '');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue