You are here

function imagemagick_update_8302 in ImageMagick 8.3

Remove the 'prepend_pre_source' and 'use_identify' config settings.

File

./imagemagick.install, line 58
ImageMagick installation scripts.

Code

function imagemagick_update_8302() {
  $config_factory = \Drupal::configFactory();
  $setting = $config_factory
    ->getEditable('imagemagick.settings')
    ->clear('prepend_pre_source')
    ->clear('use_identify')
    ->save(TRUE);
}