diff --git a/Setup/Uninstall.php b/Setup/Uninstall.php new file mode 100644 index 0000000..aba745b --- /dev/null +++ b/Setup/Uninstall.php @@ -0,0 +1,36 @@ +resource = $resource; + } + + public function uninstall(SchemaSetupInterface $setup, ModuleContextInterface $context) + { + $connection = $this->resource->getConnection(); + $configTable = $this->resource->getTableName('core_config_data'); + + $connection->delete( + $configTable, + [ + $connection->quoteInto('path LIKE ?', 'payment/breadcheckout/%'), + $connection->quoteInto('path LIKE ?', 'payment/rbccheckout/%') + ] + ); + } +}