re r64403 - remove never-actually-used $flag parameter from verifyUpload()
authorMark A. Hershberger <mah@users.mediawiki.org>
Fri, 23 Jul 2010 00:07:35 +0000 (00:07 +0000)
committerMark A. Hershberger <mah@users.mediawiki.org>
Fri, 23 Jul 2010 00:07:35 +0000 (00:07 +0000)
includes/api/ApiUpload.php

index 7c51ca6..96ff211 100644 (file)
@@ -156,12 +156,9 @@ class ApiUpload extends ApiBase {
 
        /**
         * Performs file verification, dies on error.
-        *
-        * @param $flag integer passed to UploadBase::verifyUpload, set to
-        * UploadBase::EMPTY_FILE to skip the empty file check.
         */
-       public function verifyUpload( $flag ) {
-               $verification = $this->mUpload->verifyUpload( $flag );
+       public function verifyUpload( ) {
+               $verification = $this->mUpload->verifyUpload( );
                if ( $verification['status'] === UploadBase::OK ) {
                        return $verification;
                }