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

Ignore users personal mimetype configs #396

Merged
merged 1 commit into from
Jul 14, 2016
Merged

Ignore users personal mimetype configs #396

merged 1 commit into from
Jul 14, 2016

Conversation

ayamshanov
Copy link
Contributor

I think will be correct ignore personal mimetypes settings from config.

This setting use in /lib/private/files/type/detection.php:

grep -n '/mimetype........json' ./lib/private/files/type/detection.php

117:            if (file_exists($this->customConfigDir . '/mimetypealiases.json')) {
118:                    $custom = json_decode(file_get_contents($this->customConfigDir . '/mimetypealiases.json'), true);

142:            if (file_exists($this->customConfigDir . '/mimetypemapping.json')) {
143:                    $custom = json_decode(file_get_contents($this->customConfigDir . '/mimetypemapping.json'), true);

@mention-bot
Copy link

@ayamshanov, thanks for your PR! By analyzing the annotation information on this pull request, we identified @bantu, @DeepDiver1975 and @icewind1991 to be potential reviewers

@nickvergessen
Copy link
Member

👍

1 similar comment
@icewind1991
Copy link
Member

👍

@MorrisJobke MorrisJobke added this to the Nextcloud Next milestone Jul 14, 2016
@MorrisJobke MorrisJobke merged commit 3a24f03 into nextcloud:master Jul 14, 2016
@ayamshanov ayamshanov deleted the gitignore_personal_mimetypes branch July 15, 2016 06:41
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.

5 participants