diff options
author | Roeland Jago Douma <rullzer@users.noreply.github.com> | 2018-02-27 22:27:26 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-02-27 22:27:26 +0100 |
commit | b369abc37807c105a72cc302dd1f9d98cf2813d1 (patch) | |
tree | 7fe3e180dfc99fe3ec3af313a31595e239dfae83 /lib | |
parent | 77927442a65040389333a0d12b15b8d9eba4d0ae (diff) | |
parent | f81d4eb060ea15c0c753d094b65eaa2c8c9315a5 (diff) | |
download | nextcloud-server-b369abc37807c105a72cc302dd1f9d98cf2813d1.tar.gz nextcloud-server-b369abc37807c105a72cc302dd1f9d98cf2813d1.zip |
Merge pull request #8565 from nextcloud/bugfix/fat-48/make-outlook-and-thunderbird-addons-identifyable
Make the Outlook and Thunderbird addons identifyable
Diffstat (limited to 'lib')
-rw-r--r-- | lib/public/IRequest.php | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/public/IRequest.php b/lib/public/IRequest.php index b3130207111..05948cd480f 100644 --- a/lib/public/IRequest.php +++ b/lib/public/IRequest.php @@ -91,6 +91,16 @@ interface IRequest { const USER_AGENT_TALK_IOS = '/^Mozilla\/5\.0 \(iOS\) Nextcloud\-Talk v.*$/'; /** + * @since 13.0.1 + */ + const USER_AGENT_OUTLOOK_ADDON = '/^Mozilla\/5\.0 \([A-Za-z ]+\) Nextcloud\-Outlook v.*$/'; + + /** + * @since 13.0.1 + */ + const USER_AGENT_THUNDERBIRD_ADDON = '/^Mozilla\/5\.0 \([A-Za-z ]+\) Nextcloud\-Thunderbird v.*$/'; + + /** * @param string $name * * @return string |