MDL-44066 caching Don't advertise session mode for MongoDB and memcached

This commit is contained in:
Michael Aherne
2014-02-24 12:50:17 +08:00
committed by Damyon Wiese
parent 89093f0f07
commit 624dd20db1
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -216,7 +216,7 @@ class cachestore_memcache extends cache_store implements cache_is_configurable {
* @return int
*/
public static function get_supported_modes(array $configuration = array()) {
return self::MODE_APPLICATION + self::MODE_SESSION;
return self::MODE_APPLICATION;
}
/**
+1 -1
View File
@@ -224,7 +224,7 @@ class cachestore_memcached extends cache_store implements cache_is_configurable
* @return int
*/
public static function get_supported_modes(array $configuration = array()) {
return self::MODE_APPLICATION + self::MODE_SESSION;
return self::MODE_APPLICATION;
}
/**
+1 -1
View File
@@ -175,7 +175,7 @@ class cachestore_mongodb extends cache_store implements cache_is_configurable {
* @return int
*/
public static function get_supported_modes(array $configuration = array()) {
return self::MODE_APPLICATION + self::MODE_SESSION;
return self::MODE_APPLICATION;
}
/**