MDL-36937 cache: Fixed up typo

This commit is contained in:
Sam Hemelryk 2012-11-30 14:29:58 +13:00
parent e4d7ec6b3b
commit b870426ab6

View File

@ -261,6 +261,6 @@ abstract class cache_store implements cache_store_interface {
* @return bool
*/
public function supports_native_ttl() {
return $this::supports_data_guarantee() & self::SUPPORTS_NATIVE_TTL;
return $this::get_supported_features() & self::SUPPORTS_NATIVE_TTL;
}
}