API CHANGE Removed deprecated File::getLinkedURL() - please use custom code instead.

This commit is contained in:
Sean Harvey 2012-03-09 14:37:06 +13:00
parent a2353f793d
commit 4a52e29620

View File

@ -626,16 +626,6 @@ class File extends DataObject {
return Director::baseURL() . $this->getFilename(); 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. * Returns an absolute filesystem path to the file.
* Use {@link getRelativePath()} to get the same path relative to the webroot. * Use {@link getRelativePath()} to get the same path relative to the webroot.