Download & Extend

Call to undefined function mobile_tools_is_mobile_device()

Project:Mobile Tools
Version:7.x-3.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active

Issue Summary

...in mobile_tools\mobile_tools_context\plugins\access\is_mobile.inc on line 63

Searched but not declared anywhere, is this meant to be another newer function?

<?php
function mobile_tools_context_is_mobile_ctools_access_check($conf, $contexts) {
 
$browser = mobile_tools_is_mobile_device();
  if (
$conf['mobile_any'] && $browser['type'] == 'mobile') {
    return
TRUE;
  }

 
$access = in_array($browser['group'], $conf['mobile_list']);
  if (
in_array($browser['type'], $conf['mobile_list']) && $browser['type'] == 'mobile') {
    return
TRUE;
  }
  return
$access;
}
?>

Comments

#1

Status:active» closed (won't fix)

The 7.x-2.x branch of Mobile Tools in now unsupported.

#2

Version:7.x-2.x-dev» 7.x-3.x-dev
Status:closed (won't fix)» active

Hi,
I'm experiencing this issue with the last 7.3 version. any clue what can cause this error?