mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 08:26:37 +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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -33,7 +33,7 @@ $version = 2013081600.00; // YYYYMMDD = weekly release date o
|
|||
// RR = release increments - 00 in DEV branches.
|
||||
// .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.
|
||||
$maturity = MATURITY_ALPHA; // This version's maturity level.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue