mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
API CHANGE Removed deprecated File::getLinkedURL() - please use custom code instead.
This commit is contained in:
parent
a2353f793d
commit
4a52e29620
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user