MINOR Removed unused parameter from File->Link() and File->RelativeLink()

This commit is contained in:
Ingo Schommer 2011-09-23 08:39:43 +02:00
parent 8adb259555
commit 6564fafa21

View File

@ -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;
} }