Skip to content

Commit

Permalink
allow to disable the imagick warning
Browse files Browse the repository at this point in the history
Signed-off-by: szaimen <szaimen@e.mail.de>
  • Loading branch information
szaimen committed Mar 5, 2022
1 parent e96c859 commit d5010ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/settings/lib/Controller/CheckSetupController.php
Original file line number Diff line number Diff line change
Expand Up @@ -717,7 +717,7 @@ protected function hasRecommendedPHPModules(): array {
$recommendedPHPModules[] = 'gmp';
}

if ($this->config->getAppValue('theming', 'enabled', 'no') === 'yes') {
if ($this->config->getAppValue('theming', 'enabled', 'no') === 'yes' && $this->config->getAppValue('core', 'disableImagickWarning', '') === 'yes') {
if (!extension_loaded('imagick')) {
$recommendedPHPModules[] = 'imagick';
}
Expand Down

0 comments on commit d5010ae

Please sign in to comment.