[HttpFoundation] removed protected methods that were not used

This commit is contained in:
Fabien Potencier 2011-04-27 08:04:10 +02:00
parent 5bb9da4b6d
commit b7cd7115d1
1 changed files with 0 additions and 32 deletions

View File

@ -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
*/