From b2c66eb60c01805f26cc791966f05be52af7b406 Mon Sep 17 00:00:00 2001 From: Damyon Wiese Date: Tue, 20 Aug 2013 16:48:18 +0800 Subject: [PATCH] MDL-40931 useragentlib: Removed unused class variable + version fix --- lib/classes/useragent.php | 11 +---------- version.php | 2 +- 2 files changed, 2 insertions(+), 11 deletions(-) diff --git a/lib/classes/useragent.php b/lib/classes/useragent.php index 95a6958cb31..e8c1906b260 100644 --- a/lib/classes/useragent.php +++ b/lib/classes/useragent.php @@ -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; } -} \ No newline at end of file +} diff --git a/version.php b/version.php index 17a4b0d838d..0aa253966bd 100644 --- a/version.php +++ b/version.php @@ -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. -- 2.43.0