Index: trunk/phase3/includes/api/ApiUpload.php |
— | — | @@ -156,12 +156,9 @@ |
157 | 157 | |
158 | 158 | /** |
159 | 159 | * Performs file verification, dies on error. |
160 | | - * |
161 | | - * @param $flag integer passed to UploadBase::verifyUpload, set to |
162 | | - * UploadBase::EMPTY_FILE to skip the empty file check. |
163 | 160 | */ |
164 | | - public function verifyUpload( $flag ) { |
165 | | - $verification = $this->mUpload->verifyUpload( $flag ); |
| 161 | + public function verifyUpload( ) { |
| 162 | + $verification = $this->mUpload->verifyUpload( ); |
166 | 163 | if ( $verification['status'] === UploadBase::OK ) { |
167 | 164 | return $verification; |
168 | 165 | } |