$this->eventDispatcher->
dispatch( new UpdatePrePrepareEvent($context,
$this->shopwareVersion,
$update->version
) );
} // disable plugins - save active plugins
$deactivationFilter =
(string) $request->query->
get( 'deactivationFilter',
ExtensionCompatibility::PLUGIN_DEACTIVATION_FILTER_NOT_COMPATIBLE
);
$deactivatePluginStep =
new DeactivateExtensionsStep( $update,
$deactivationFilter,
$this->extensionCompatibility,
$this->extensionLifecycleService,
$this->systemConfig,
$context );
$result =
$deactivatePluginStep->
run($offset);
if ($result->
getOffset() ===
$result->
getTotal()) {