Bläddra i källkod

[HttpFoundation] removed protected methods that were not used

Fabien Potencier 14 år sedan
förälder
incheckning
b7cd7115d1
1 ändrade filer med 0 tillägg och 32 borttagningar
  1. 0 32
      src/Symfony/Component/HttpFoundation/File/UploadedFile.php

+ 0 - 32
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
      */