From 33bf7b48283efee01b1d973a8e0260480b0a7b1e Mon Sep 17 00:00:00 2001 From: Jared Whiklo Date: Tue, 3 Sep 2019 10:56:33 -0500 Subject: [PATCH] Reset deletes the settings variable --- includes/imageserver.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/imageserver.inc b/includes/imageserver.inc index 3dda1b5e..f1d55ccf 100644 --- a/includes/imageserver.inc +++ b/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'; }