diff --git a/filesystem/File.php b/filesystem/File.php index d80fe68ad..d52d0584b 100755 --- a/filesystem/File.php +++ b/filesystem/File.php @@ -658,7 +658,7 @@ class File extends DataObject { public function flushCache() { parent::flushCache(); - unset(self::$cache_file_fields); + self::$cache_file_fields = null; } }