properly handle the case where a file disappears during the uploadwizard process
[lhc/web/wiklou.git] / includes / api / ApiUpload.php
index 3a8326f..b101ecc 100644 (file)
@@ -147,6 +147,7 @@ class ApiUpload extends ApiBase {
         */
        function performStash() {
                try {
+                       xdebug_break();
                        $fileKey = $this->mUpload->stashFile()->getFileKey();
                } catch ( MWException $e ) {
                        $message = 'Stashing temporary file failed: ' . get_class( $e ) . ' ' . $e->getMessage();