diff options
author | Lukas Reschke <lukas@statuscode.ch> | 2021-05-25 18:41:31 +0200 |
---|---|---|
committer | Lukas Reschke <lukas@statuscode.ch> | 2021-05-25 19:01:48 +0200 |
commit | a521ed874c2177fc1f84a774222031bdfa862759 (patch) | |
tree | f014ea8c23ae24a91a25bb7ee84021575b93fa45 /lib/private/AppFramework | |
parent | 677dcad257f4053ff8585fb2066dbe10cb8e5f27 (diff) | |
download | nextcloud-server-a521ed874c2177fc1f84a774222031bdfa862759.tar.gz nextcloud-server-a521ed874c2177fc1f84a774222031bdfa862759.zip |
Remove unused constants
No calls in all of GitHub as per https://sourcegraph.com/search?q=USER_AGENT_OWNCLOUD_&patternType=literal
Deprecation has also been years ago.
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
Diffstat (limited to 'lib/private/AppFramework')
-rw-r--r-- | lib/private/AppFramework/Http/Request.php | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/lib/private/AppFramework/Http/Request.php b/lib/private/AppFramework/Http/Request.php index 031e2d13ad9..d5b6c1cbd52 100644 --- a/lib/private/AppFramework/Http/Request.php +++ b/lib/private/AppFramework/Http/Request.php @@ -78,19 +78,6 @@ class Request implements \ArrayAccess, \Countable, IRequest { public const USER_AGENT_FREEBOX = '#^Mozilla/5\.0$#'; public const REGEX_LOCALHOST = '/^(127\.0\.0\.1|localhost|\[::1\])$/'; - /** - * @deprecated use \OCP\IRequest::USER_AGENT_CLIENT_IOS instead - */ - public const USER_AGENT_OWNCLOUD_IOS = '/^Mozilla\/5\.0 \(iOS\) (ownCloud|Nextcloud)\-iOS.*$/'; - /** - * @deprecated use \OCP\IRequest::USER_AGENT_CLIENT_ANDROID instead - */ - public const USER_AGENT_OWNCLOUD_ANDROID = '/^Mozilla\/5\.0 \(Android\) ownCloud\-android.*$/'; - /** - * @deprecated use \OCP\IRequest::USER_AGENT_CLIENT_DESKTOP instead - */ - public const USER_AGENT_OWNCLOUD_DESKTOP = '/^Mozilla\/5\.0 \([A-Za-z ]+\) (mirall|csyncoC)\/.*$/'; - protected $inputStream; protected $content; protected $items = []; |