Merge branch 'MDL-39473-m24' of git://github.com/sammarshallou/moodle into MOODLE_24_STABLE

This commit is contained in:
Dan Poltawski
2013-05-06 14:33:02 +01:00
5 changed files with 55 additions and 0 deletions
+11
View File
@@ -195,6 +195,17 @@ class cachestore_file extends cache_store implements cache_is_key_aware, cache_i
return $supported;
}
/**
* Returns false as this store does not support multiple identifiers.
* (This optional function is a performance optimisation; it must be
* consistent with the value from get_supported_features.)
*
* @return bool False
*/
public function supports_multiple_identifiers() {
return false;
}
/**
* Returns the supported modes as a combined int.
*
+11
View File
@@ -181,6 +181,17 @@ class cachestore_memcache extends cache_store implements cache_is_configurable {
return self::SUPPORTS_NATIVE_TTL;
}
/**
* Returns false as this store does not support multiple identifiers.
* (This optional function is a performance optimisation; it must be
* consistent with the value from get_supported_features.)
*
* @return bool False
*/
public function supports_multiple_identifiers() {
return false;
}
/**
* Returns the supported modes as a combined int.
*
+11
View File
@@ -205,6 +205,17 @@ class cachestore_memcached extends cache_store implements cache_is_configurable
return self::SUPPORTS_NATIVE_TTL;
}
/**
* Returns false as this store does not support multiple identifiers.
* (This optional function is a performance optimisation; it must be
* consistent with the value from get_supported_features.)
*
* @return bool False
*/
public function supports_multiple_identifiers() {
return false;
}
/**
* Returns the supported modes as a combined int.
*
+11
View File
@@ -141,6 +141,17 @@ class cachestore_session extends session_data_store implements cache_is_key_awar
self::IS_SEARCHABLE;
}
/**
* Returns false as this store does not support multiple identifiers.
* (This optional function is a performance optimisation; it must be
* consistent with the value from get_supported_features.)
*
* @return bool False
*/
public function supports_multiple_identifiers() {
return false;
}
/**
* Returns the supported modes as a combined int.
*
+11
View File
@@ -136,6 +136,17 @@ class cachestore_static extends static_data_store implements cache_is_key_aware
self::SUPPORTS_NATIVE_TTL;
}
/**
* Returns false as this store does not support multiple identifiers.
* (This optional function is a performance optimisation; it must be
* consistent with the value from get_supported_features.)
*
* @return bool False
*/
public function supports_multiple_identifiers() {
return false;
}
/**
* Returns the supported modes as a combined int.
*