diff --git a/src/Symfony/Component/HttpFoundation/File/UploadedFile.php b/src/Symfony/Component/HttpFoundation/File/UploadedFile.php index 505d6b3c0e..edb7de8d56 100644 --- a/src/Symfony/Component/HttpFoundation/File/UploadedFile.php +++ b/src/Symfony/Component/HttpFoundation/File/UploadedFile.php @@ -137,38 +137,6 @@ class UploadedFile extends File return $this->error === UPLOAD_ERR_OK; } - /** - * Returns true if the size of the uploaded file exceeds the - * upload_max_filesize directive in php.ini - * - * @return Boolean - */ - protected function isIniSizeExceeded() - { - return $this->error === UPLOAD_ERR_INI_SIZE; - } - - /** - * Returns true if the size of the uploaded file exceeds the - * MAX_FILE_SIZE directive specified in the HTML form - * - * @return Boolean - */ - protected function isFormSizeExceeded() - { - return $this->error === UPLOAD_ERR_FORM_SIZE; - } - - /** - * Returns true if the file was completely uploaded - * - * @return Boolean - */ - protected function isUploadComplete() - { - return $this->error !== UPLOAD_ERR_PARTIAL; - } - /** * @inheritDoc */