From 4a52e29620ece1d91cbc814292792544a3e790ac Mon Sep 17 00:00:00 2001 From: Sean Harvey Date: Fri, 9 Mar 2012 14:37:06 +1300 Subject: [PATCH] API CHANGE Removed deprecated File::getLinkedURL() - please use custom code instead. --- filesystem/File.php | 10 ---------- 1 file changed, 10 deletions(-) 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.