MDL-44066 caching Don't advertise session mode for MongoDB and memcached
This commit is contained in:
committed by
Damyon Wiese
parent
89093f0f07
commit
624dd20db1
Vendored
+1
-1
@@ -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;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Vendored
+1
-1
@@ -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;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Vendored
+1
-1
@@ -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;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user