Skip to content

Commit

Permalink
Remove Extra Check
Browse files Browse the repository at this point in the history
  • Loading branch information
officiallygod committed Feb 22, 2023
1 parent 621cc6e commit 4fbad17
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions includes/RestApi/PluginsController.php
Original file line number Diff line number Diff line change
Expand Up @@ -327,12 +327,6 @@ public function set_site_features( \WP_REST_Request $request ) {
continue;
}

// If the Plugin is already in queue
$position_in_queue = PluginInstallTaskManager::status( $plugin );
if ( false !== $position_in_queue ) {
continue;
}

PluginInstallTaskManager::add_to_queue(
new PluginInstallTask(
$plugin,
Expand Down

0 comments on commit 4fbad17

Please sign in to comment.