Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
project_browser
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
project_browser
Commits
399bb62d
Commit
399bb62d
authored
4 months ago
by
shalini jha
Committed by
Chris Wells
4 months ago
Browse files
Options
Downloads
Patches
Plain Diff
Issue
#3487835
: DrupalDotOrgJsonApi.php - legacy code to be removed
parent
607f77e0
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!618
Issue #3487835: Remove legacy code from DrupalDotOrgJsonApi.php
Pipeline
#344942
passed with warnings
4 months ago
Stage: build
Stage: validate
Stage: test
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/Plugin/ProjectBrowserSource/DrupalDotOrgJsonApi.php
+0
-5
0 additions, 5 deletions
src/Plugin/ProjectBrowserSource/DrupalDotOrgJsonApi.php
with
0 additions
and
5 deletions
src/Plugin/ProjectBrowserSource/DrupalDotOrgJsonApi.php
+
0
−
5
View file @
399bb62d
...
@@ -285,11 +285,6 @@ class DrupalDotOrgJsonApi extends ProjectBrowserSourceBase {
...
@@ -285,11 +285,6 @@ class DrupalDotOrgJsonApi extends ProjectBrowserSourceBase {
public
function
getProjects
(
array
$query
=
[]):
ProjectsResultsPage
{
public
function
getProjects
(
array
$query
=
[]):
ProjectsResultsPage
{
$api_response
=
$this
->
fetchProjects
(
$query
);
$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
=
[];
$returned_list
=
[];
if
(
is_array
(
$api_response
)
&&
!
empty
(
$api_response
[
'list'
]))
{
if
(
is_array
(
$api_response
)
&&
!
empty
(
$api_response
[
'list'
]))
{
$related
=
!
empty
(
$api_response
[
'related'
])
?
$api_response
[
'related'
]
:
NULL
;
$related
=
!
empty
(
$api_response
[
'related'
])
?
$api_response
[
'related'
]
:
NULL
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment