From e9a587d5bd5c3d24a34ef936caa1d671e9ad8885 Mon Sep 17 00:00:00 2001 From: Clinton Graham Date: Thu, 5 Mar 2020 10:21:21 -0500 Subject: [PATCH] #17: remove block name setting on delete --- controllers/grid/CustomBlockGridHandler.inc.php | 1 + 1 file changed, 1 insertion(+) diff --git a/controllers/grid/CustomBlockGridHandler.inc.php b/controllers/grid/CustomBlockGridHandler.inc.php index baa6721..df75d87 100644 --- a/controllers/grid/CustomBlockGridHandler.inc.php +++ b/controllers/grid/CustomBlockGridHandler.inc.php @@ -209,6 +209,7 @@ function deleteCustomBlock($args, $request) { $pluginSettingsDao->deleteSetting($contextId, $blockName, 'enabled'); $pluginSettingsDao->deleteSetting($contextId, $blockName, 'seq'); $pluginSettingsDao->deleteSetting($contextId, $blockName, 'blockContent'); + $pluginSettingsDao->deleteSetting($contextId, $blockName, 'blockDisplayName'); // Remove this block plugin from the list of the custom block plugins $customBlockManagerPlugin = $this->plugin;