MDL-36768 cache: replaced cache_store interface with abstract class

This commit is contained in:
Sam Hemelryk
2012-11-26 14:11:01 +13:00
parent bd188851f2
commit 75cde6b9ac
12 changed files with 212 additions and 271 deletions
+1 -1
View File
@@ -182,7 +182,7 @@ class cache_config {
if (!class_exists($class)) {
continue;
}
if (!array_key_exists('cache_store', class_implements($class))) {
if (!array_key_exists('cache_store', class_parents($class))) {
continue;
}
if (!array_key_exists('configuration', $store) || !is_array($store['configuration'])) {