Unsuppress more phan issues (part 5)
[lhc/web/wiklou.git] / includes / api / ApiUpload.php
index b15b998..3a54772 100644 (file)
@@ -793,6 +793,7 @@ class ApiUpload extends ApiBase {
                        }
                }
 
+               $result = [];
                // No errors, no warnings: do the upload
                if ( $this->mParams['async'] ) {
                        $progress = UploadBase::getSessionStatus( $this->getUser(), $this->mParams['filekey'] );