mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 08:56:36 +02:00
MDL-40931 useragentlib: Removed unused class variable + version fix
This commit is contained in:
parent
89959d9ad1
commit
b2c66eb60c
2 changed files with 2 additions and 11 deletions
|
@ -92,12 +92,6 @@ class core_useragent {
|
|||
*/
|
||||
protected $devicetypecustoms = array();
|
||||
|
||||
/**
|
||||
* True if the user agent supports ajax. False if not.
|
||||
* @var bool|null Null until initialised, then true or false.
|
||||
*/
|
||||
protected $supportsajax = null;
|
||||
|
||||
/**
|
||||
* True if the user agent supports the display of svg images. False if not.
|
||||
* @var bool|null Null until initialised, then true or false.
|
||||
|
@ -136,9 +130,6 @@ class core_useragent {
|
|||
$this->useragent = false;
|
||||
$this->devicetype = self::DEVICETYPE_DEFAULT;
|
||||
}
|
||||
if (empty($CFG->enableajax)) {
|
||||
$this->supportsajax = false;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -757,4 +748,4 @@ class core_useragent {
|
|||
}
|
||||
return $instance->supportssvg;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue