Permalink
Browse files

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

…nk()
  • Loading branch information...
chillu committed Sep 23, 2011
1 parent 8adb259 commit 6564fafa2138b0347d578079b1cbb98af7563c1b
Showing with 3 additions and 3 deletions.
  1. +3 −3 filesystem/File.php
View
@@ -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;
}

0 comments on commit 6564faf

Please sign in to comment.