MDL-40931 useragentlib: Removed unused class variable + version fix

This commit is contained in:
Damyon Wiese 2013-08-20 16:48:18 +08:00
parent 89959d9ad1
commit b2c66eb60c
2 changed files with 2 additions and 11 deletions

View file

@ -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;
}
}
}