remove mobile_detect (outdated and unmaintainable)

This commit is contained in:
zotlabs
2018-02-05 18:06:25 -08:00
parent b06c52553d
commit cadd958339
8 changed files with 13 additions and 307 deletions

View File

@@ -232,7 +232,7 @@ class Connections extends \Zotlabs\Web\Controller {
if($rr['xchan_url']) {
if(($rr['vcard']) && is_array($rr['vcard']['tels']) && $rr['vcard']['tels'][0]['nr'])
$phone = ((\App::$is_mobile || \App::$is_tablet) ? $rr['vcard']['tels'][0]['nr'] : '');
$phone = $rr['vcard']['tels'][0]['nr'];
else
$phone = '';