mirror of https://github.com/MISP/MISP
Merge branch 'develop' into 2.4
commit
9fe50664a4
|
@ -68,9 +68,6 @@ class UserLoginProfile extends AppModel
|
||||||
*/
|
*/
|
||||||
public function _getUserProfile() {
|
public function _getUserProfile() {
|
||||||
if (!$this->userProfile) {
|
if (!$this->userProfile) {
|
||||||
if (version_compare(PHP_VERSION, '7.4.0') >= 0) {
|
|
||||||
return [];
|
|
||||||
}
|
|
||||||
// below uses https://github.com/browscap/browscap-php
|
// below uses https://github.com/browscap/browscap-php
|
||||||
if (class_exists('\BrowscapPHP\Browscap')) {
|
if (class_exists('\BrowscapPHP\Browscap')) {
|
||||||
try {
|
try {
|
||||||
|
|
Loading…
Reference in New Issue