Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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

…nk()
  • Loading branch information...
commit 6564fafa2138b0347d578079b1cbb98af7563c1b 1 parent 8adb259
@chillu chillu authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 filesystem/File.php
View
6 filesystem/File.php
@@ -161,11 +161,11 @@ static function find($filename) {
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;
}
Please sign in to comment.
Something went wrong with that request. Please try again.