Skip to content
Snippets Groups Projects
Commit 399bb62d authored by shalini jha's avatar shalini jha Committed by Chris Wells
Browse files

Issue #3487835: DrupalDotOrgJsonApi.php - legacy code to be removed

parent 607f77e0
No related branches found
No related tags found
No related merge requests found
......@@ -285,11 +285,6 @@ class DrupalDotOrgJsonApi extends ProjectBrowserSourceBase {
public function getProjects(array $query = []): ProjectsResultsPage {
$api_response = $this->fetchProjects($query);
// @todo Remove the next three lines when https://www.drupal.org/project/project_browser/issues/3309273 is merged.
$filter_values = $this->filterValues();
$active_values = $filter_values['active'] ?? [];
$maintained_values = $filter_values['maintained'] ?? [];
$returned_list = [];
if (is_array($api_response) && !empty($api_response['list'])) {
$related = !empty($api_response['related']) ? $api_response['related'] : NULL;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment