From 7d19b4820ed0bd605f806c161b3567c9e25a470f Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Wed, 17 Aug 2016 12:22:19 -0700 Subject: [PATCH] Remove pointless override of doStashFile in UploadFromStash Change-Id: If6bc31d7398c68320a6633b045c33279bf6f8dbd --- includes/upload/UploadFromStash.php | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/includes/upload/UploadFromStash.php b/includes/upload/UploadFromStash.php index 50bcbc4260..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 - */ - protected function doStashFile( User $user = null ) { - // replace mLocalFile with an instance of UploadStashFile, which adds some methods - // that are useful for stashed files. - $this->mLocalFile = parent::doStashFile( $user ); - - return $this->mLocalFile; - } - /** * Remove a temporarily kept file stashed by saveTempUploadedFile(). * @return bool Success -- 2.20.1