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(); 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. * True if the user agent supports the display of svg images. False if not.
* @var bool|null Null until initialised, then true or false. * @var bool|null Null until initialised, then true or false.
@ -136,9 +130,6 @@ class core_useragent {
$this->useragent = false; $this->useragent = false;
$this->devicetype = self::DEVICETYPE_DEFAULT; $this->devicetype = self::DEVICETYPE_DEFAULT;
} }
if (empty($CFG->enableajax)) {
$this->supportsajax = false;
}
} }
/** /**

View file

@ -33,7 +33,7 @@ $version = 2013081600.00; // YYYYMMDD = weekly release date o
// RR = release increments - 00 in DEV branches. // RR = release increments - 00 in DEV branches.
// .XX = incremental changes. // .XX = incremental changes.
$release = '2.6dev (Build: 20130808)'; // Human-friendly version name. $release = '2.6dev (Build: 20130815)'; // Human-friendly version name.
$branch = '26'; // This version's branch. $branch = '26'; // This version's branch.
$maturity = MATURITY_ALPHA; // This version's maturity level. $maturity = MATURITY_ALPHA; // This version's maturity level.