Step::Status StepRunParserPlugin::undo() {
// For update, we need to reread configuration of old version of widget
// so running whole process from beginning
- if (action_type_ == Plugin::ActionType::Install)
+ if (action_type_ == Plugin::ActionType::Install) {
ProcessPlugins(context_->xml_path.get(), context_->manifest_data.get(),
Plugin::ActionType::Undo);
- else if (action_type_ == Plugin::ActionType::Upgrade) {
+ } else if (action_type_ == Plugin::ActionType::Upgrade) {
plugin_manager_.release();
ProcessPlugins(context_->backup_xml_path.get(),
context_->old_manifest_data.get(),