Merge branch 'wip-MDL-36937-m24' of git://github.com/samhemelryk/moodle

This commit is contained in:
Dan Poltawski
2012-11-30 09:48:36 +08:00
+1 -1
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;
}
}