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;
|
return $item;
|
||||||
}
|
}
|
||||||
|
|
||||||
function Link($action = null) {
|
function Link() {
|
||||||
return Director::baseURL() . $this->RelativeLink($action);
|
return Director::baseURL() . $this->RelativeLink();
|
||||||
}
|
}
|
||||||
|
|
||||||
function RelativeLink($action = null){
|
function RelativeLink(){
|
||||||
return $this->Filename;
|
return $this->Filename;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user