diff --git a/filesystem/File.php b/filesystem/File.php index 60d9f3b7e..84acdbe0e 100644 --- a/filesystem/File.php +++ b/filesystem/File.php @@ -626,16 +626,6 @@ class File extends DataObject { return Director::baseURL() . $this->getFilename(); } - /** - * Return the last 50 characters of the URL. - * - * @deprecated 2.4 - */ - function getLinkedURL() { - Deprecation::notice('2.4', 'Use getTreeTitle() instead.'); - return "$this->Name"; - } - /** * Returns an absolute filesystem path to the file. * Use {@link getRelativePath()} to get the same path relative to the webroot.