fix wrong method name

This commit is contained in:
Stepan Tanasiychuk 2011-04-27 23:15:27 +03:00
parent 25ae70eb75
commit 411997dc59
1 changed files with 1 additions and 1 deletions

View File

@ -164,7 +164,7 @@ class UploadedFile extends File
public function move($directory, $name = null)
{
if ($this->moved) {
return parent::doMove($directory, $name);
return parent::move($directory, $name);
}
$newPath = $directory.DIRECTORY_SEPARATOR.(null === $name ? $this->getName() : $name);