More clean up from removal of Shiny Plugin Installs

See #31773, #29820
Unprops Jorbin, Pento



git-svn-id: https://develop.svn.wordpress.org/trunk@31900 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Aaron Jorbin 2015-03-26 16:29:09 +00:00
parent 74874407e1
commit 9ab336e309
1 changed files with 1 additions and 12 deletions

View File

@ -286,18 +286,7 @@ window.wp = window.wp || {};
var job = wp.updates.updateQueue.shift(); var job = wp.updates.updateQueue.shift();
/* This normally wouldn't be a switch, but is there since updates and installs
originally were developed together. Kept as a switch to help with bringing
installs back in and to preserve commit history. */
switch ( job.type ) {
case 'update-plugin':
wp.updates.updatePlugin( job.data.plugin, job.data.slug ); wp.updates.updatePlugin( job.data.plugin, job.data.slug );
break;
default:
window.console.log( 'Failed to exect queued update job.' );
window.console.log( job );
break;
}
}; };