Skip to content

Commit

Permalink
pkp#17: remove block name setting on delete
Browse files Browse the repository at this point in the history
  • Loading branch information
ctgraham committed Mar 5, 2020
1 parent d626471 commit e9a587d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions controllers/grid/CustomBlockGridHandler.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit e9a587d

Please sign in to comment.