From b7cd7115d1ba272c62e7a2bcabcbb200aadbe415 Mon Sep 17 00:00:00 2001 From: Fabien Potencier Date: Wed, 27 Apr 2011 08:04:10 +0200 Subject: [PATCH] [HttpFoundation] removed protected methods that were not used --- .../HttpFoundation/File/UploadedFile.php | 32 ------------------- 1 file changed, 32 deletions(-) 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 */