Remove unused plugin update command / redux action
Summary: This command is never actually dispatched so removing to avoid future confusion. When new plugins are downloaded a check is done here https://fburl.com/code/e3zedljb to see if pluginIsDisabledForAllConnectedClients, if so, load command is queued, which internally calls update (which resets state) If the plugin is not disabled then a message appears asking user to manually reload. Reviewed By: aigoncharov Differential Revision: D44502476 fbshipit-source-id: b796b77f843218c07ee612d9f45cacba073362d3
This commit is contained in:
committed by
Facebook GitHub Bot
parent
f8e326f4d5
commit
e47d99a69e
@@ -140,9 +140,6 @@ async function processPluginCommandsQueue(
|
||||
case 'UNINSTALL_PLUGIN':
|
||||
uninstallPlugin(store, command.payload);
|
||||
break;
|
||||
case 'UPDATE_PLUGIN':
|
||||
updatePlugin(store, command.payload);
|
||||
break;
|
||||
case 'SWITCH_PLUGIN':
|
||||
switchPlugin(store, command.payload);
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user