Skip to content
This repository was archived by the owner on Nov 25, 2020. It is now read-only.

Commit 8eddc19

Browse files
committed
Add test for AbstractCacheDriver
1 parent dc885f4 commit 8eddc19

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/plugins/core.cache/class.CoreCacheLoader.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ public function getCacheImpl()
4747
}
4848
}
4949
self::$cacheInstance = $pluginInstance;
50-
if($pluginInstance !== null && $pluginInstance->supportsPatternDelete(AJXP_CACHE_SERVICE_NS_NODES)){
50+
if($pluginInstance !== null && is_a($pluginInstance, "AbstractCacheDriver") && $pluginInstance->supportsPatternDelete(AJXP_CACHE_SERVICE_NS_NODES)){
5151
AJXP_MetaStreamWrapper::appendMetaWrapper("pydio.cache", "CacheStreamLayer");
5252
}
5353
}

0 commit comments

Comments
 (0)