mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
BUGFIX Don't skip flushCache() extension if $cache_get_one is empty on DataObject->flushCache()
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@90082 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
79773042be
commit
2527b1543d
@ -2708,8 +2708,6 @@ class DataObject extends ViewableData implements DataObjectInterface, i18nEntity
|
||||
return;
|
||||
}
|
||||
|
||||
if(!self::$cache_get_one) return;
|
||||
|
||||
$classes = ClassInfo::ancestry($this->class);
|
||||
foreach($classes as $class) {
|
||||
if(isset(self::$cache_get_one[$class])) unset(self::$cache_get_one[$class]);
|
||||
|
Loading…
Reference in New Issue
Block a user