mirror of
https://git.friendi.ca/friendica/friendica.git
synced 2025-06-17 04:45:16 +02:00
Remove photo user id fallback from 2021
- Remove deprecated /photos/{nickname} fallback routes - The contact id fallback is a lie, there's no replacement feature
This commit is contained in:
parent
e16b6ee6e1
commit
a25dbf839a
2 changed files with 0 additions and 16 deletions
|
@ -575,22 +575,13 @@ return [
|
|||
'/{name}' => [Module\Photo::class, [R::GET]],
|
||||
'/{type}/{id:\d+}' => [Module\Photo::class, [R::GET]],
|
||||
'/{type:contact|header}/{guid}' => [Module\Photo::class, [R::GET]],
|
||||
// User Id Fallback, to remove after version 2021.12
|
||||
'/{type}/{uid_ext:\d+\..*}' => [Module\Photo::class, [R::GET]],
|
||||
'/{type}/{nickname_ext}' => [Module\Photo::class, [R::GET]],
|
||||
// Contact Id Fallback, to remove after version 2021.12
|
||||
'/{type:contact|header}/{customsize:\d+}/{contact_id:\d+}' => [Module\Photo::class, [R::GET]],
|
||||
'/{type:contact|header}/{customsize:\d+}/{guid}' => [Module\Photo::class, [R::GET]],
|
||||
'/{type}/{customsize:\d+}/{id:\d+}' => [Module\Photo::class, [R::GET]],
|
||||
// User Id Fallback, to remove after version 2021.12
|
||||
'/{type}/{customsize:\d+}/{uid_ext:\d+\..*}' => [Module\Photo::class, [R::GET]],
|
||||
'/{type}/{customsize:\d+}/{nickname_ext}' => [Module\Photo::class, [R::GET]],
|
||||
],
|
||||
|
||||
// Kept for backwards-compatibility
|
||||
// @TODO remove by version 2023.12
|
||||
'/photos/{nickname}' => [Module\Profile\Photos::class, [R::GET]],
|
||||
|
||||
'/ping' => [Module\Notifications\Ping::class, [R::GET]],
|
||||
|
||||
'/post' => [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue