/** * Performs file verification, dies on error. */ protected function verifyUpload() { $verification = $this->mUpload->verifyUpload(); if ($verification['status'] === UploadBase::OK) { return; } $this->checkVerification($verification); }