MDL-36937 cache: Fixed up typo
authorSam Hemelryk <sam@moodle.com>
Fri, 30 Nov 2012 01:29:58 +0000 (14:29 +1300)
committerSam Hemelryk <sam@moodle.com>
Fri, 30 Nov 2012 01:29:58 +0000 (14:29 +1300)
cache/classes/store.php

index 75cd8d8..dca65da 100644 (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;
     }
 }