Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor Files module #1636

Merged
merged 1 commit into from
Dec 31, 2018
Merged

Conversation

jim-parry
Copy link
Contributor

Refactor the Files module:

  • simplified File::getMimeType(), as fileinfo is built-in
  • removed two never used exceptions in Files\Exceptions\FileExceptions
  • removed the corresponding message lines in Language/en/Files
    The exceptions are not thrown by any of our code, and there are equivalent exceptions for uploaded files in the HTTP module.

@lonnieezell
Copy link
Member

Had to go tracking through the code, but yes, looks good to me.

@lonnieezell lonnieezell merged commit af33482 into codeigniter4:develop Dec 31, 2018
@jim-parry jim-parry deleted the refactor/files branch January 1, 2019 21:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants