Browse Source

Reset deletes the settings variable

pull/725/head
Jared Whiklo 5 years ago
parent
commit
33bf7b4828
  1. 2
      includes/imageserver.inc

2
includes/imageserver.inc

@ -128,7 +128,7 @@ function islandora_imageserver_admin_reset_confirm_form(array $form, array &$for
* Implements hook_form_submit().
*/
function islandora_imageserver_admin_reset_confirm_form_submit(array $form, array &$form_state) {
variable_set('islandora_imageserver_settings', islandora_imageserver_get_default_settings());
variable_del('islandora_imageserver_settings');
drupal_set_message(t('Settings reset.'), 'status');
$form_state['redirect'] = 'admin/islandora/image_server';
}

Loading…
Cancel
Save