X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fupload%2FUploadFromStash.php;h=1fbdb7d86d5940b38d2944a849b688e40de5b080;hb=ba67060734ecfa835f54c83540c0c136db1690d7;hp=908c8aa6c5202831611de27c0f2c86f05413b6be;hpb=52f5f388a40e08a76b6c4efc52fedd1c65cc166d;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/upload/UploadFromStash.php b/includes/upload/UploadFromStash.php index 908c8aa6c5..1fbdb7d86d 100644 --- a/includes/upload/UploadFromStash.php +++ b/includes/upload/UploadFromStash.php @@ -143,24 +143,6 @@ class UploadFromStash extends UploadBase { return $this->mFileProps['sha1']; } - /* - * protected function verifyFile() inherited - */ - - /** - * Stash the file. - * - * @param User $user - * @return UploadStashFile - */ - public function stashFile( User $user = null ) { - // replace mLocalFile with an instance of UploadStashFile, which adds some methods - // that are useful for stashed files. - $this->mLocalFile = parent::stashFile( $user ); - - return $this->mLocalFile; - } - /** * Remove a temporarily kept file stashed by saveTempUploadedFile(). * @return bool Success