diff --git a/src/File.php b/src/File.php index 04e8da45..2a6fb890 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 @@ -1518,12 +1510,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()