Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
The first parameter for update_calculate_project_update_status()
is $project
. This variable is not used in the function at all. $project_data
is used for everything, as it contains all the information for the project.
function update_calculate_project_update_status($project, &$project_data, $available) {
Comment | File | Size | Author |
---|---|---|---|
#1 | remove-unneeded-parameter-1505146-1.patch | 1.16 KB | Tor Arne Thune |
Comments
Comment #1
Tor Arne Thune CreditAttribution: Tor Arne Thune commentedRemove it.
Comment #2
Tor Arne Thune CreditAttribution: Tor Arne Thune commentedMarking this as novice for the review.
Comment #3
Tor Arne Thune CreditAttribution: Tor Arne Thune commentedComment #4
Barrett CreditAttribution: Barrett commentedPatch applies cleanly. All Update and Update API tests pass following application. I was able to identify no calls to the function in question beyond those addressed by the patch.
Comment #5
catchThanks! Committed/pushed to 8.x