mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
MINOR Removed unused parameter from File->Link() and File->RelativeLink()
This commit is contained in:
parent
8adb259555
commit
6564fafa21
@ -161,11 +161,11 @@ class File extends DataObject {
|
||||
return $item;
|
||||
}
|
||||
|
||||
function Link($action = null) {
|
||||
return Director::baseURL() . $this->RelativeLink($action);
|
||||
function Link() {
|
||||
return Director::baseURL() . $this->RelativeLink();
|
||||
}
|
||||
|
||||
function RelativeLink($action = null){
|
||||
function RelativeLink(){
|
||||
return $this->Filename;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user