Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

  • Loading branch information...
commit 96942337fbe156236c05f90409154d5431b6d802 1 parent ebe9c36
@micaherne micaherne authored damyon committed
View
2  cache/stores/memcache/lib.php
@@ -216,7 +216,7 @@ public function supports_multiple_identifiers() {
* @return int
*/
public static function get_supported_modes(array $configuration = array()) {
- return self::MODE_APPLICATION + self::MODE_SESSION;
+ return self::MODE_APPLICATION;
}
/**
View
2  cache/stores/memcached/lib.php
@@ -224,7 +224,7 @@ public function supports_multiple_identifiers() {
* @return int
*/
public static function get_supported_modes(array $configuration = array()) {
- return self::MODE_APPLICATION + self::MODE_SESSION;
+ return self::MODE_APPLICATION;
}
/**
View
2  cache/stores/mongodb/lib.php
@@ -175,7 +175,7 @@ public static function get_supported_features(array $configuration = array()) {
* @return int
*/
public static function get_supported_modes(array $configuration = array()) {
- return self::MODE_APPLICATION + self::MODE_SESSION;
+ return self::MODE_APPLICATION;
}
/**
Please sign in to comment.
Something went wrong with that request. Please try again.