Merge "Use mergeMwGlobalArrayValue in GenderCacheTest"
[lhc/web/wiklou.git] / includes / api / ApiUpload.php
index 9ddadcb..43e4c61 100644 (file)
@@ -182,8 +182,6 @@ class ApiUpload extends ApiBase {
                try {
                        $result['filekey'] = $this->performStash();
                        $result['sessionkey'] = $result['filekey']; // backwards compatibility
-               } catch ( UploadStashException $e ) {
-                       $this->handleStashException( $e );
                } catch ( MWException $e ) {
                        $result['warnings']['stashfailed'] = $e->getMessage();
                }