Merge branch 'develop' into 2.4

pull/9438/head
iglocska 2023-11-30 10:39:44 +01:00
commit 9fe50664a4
No known key found for this signature in database
GPG Key ID: BEA224F1FEF113AC
1 changed files with 0 additions and 3 deletions

View File

@ -68,9 +68,6 @@ class UserLoginProfile extends AppModel
*/
public function _getUserProfile() {
if (!$this->userProfile) {
if (version_compare(PHP_VERSION, '7.4.0') >= 0) {
return [];
}
// below uses https://github.com/browscap/browscap-php
if (class_exists('\BrowscapPHP\Browscap')) {
try {