diff --git a/src/File.php b/src/File.php index 03fca21b..5a0a71eb 100644 --- a/src/File.php +++ b/src/File.php @@ -351,14 +351,6 @@ public function AbsoluteLink() return $this->getAbsoluteURL(); } - /** - * @return string - */ - public function getTreeTitle() - { - return Convert::raw2xml($this->Title); - } - /** * @param Member $member * @return bool @@ -1520,12 +1512,12 @@ protected function filterFilename($name) }, $parts ?? [])); } - public function flushCache($persistent = true) + public function flushCache(bool $persistent = true): static { - parent::flushCache($persistent); static::reset(); ImageShortcodeProvider::flush(); FileShortcodeProvider::flush(); + return parent::flushCache($persistent); } public static function reset()