Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove unused parameter from function #17098

Merged
merged 1 commit into from
Apr 17, 2020

Conversation

mattwire
Copy link
Contributor

Overview

$action is unused. It is not in most browse() functions.

Before

unused parameter in job and joblog

After

unused parameter gone.

Technical Details

Comments

@civibot
Copy link

civibot bot commented Apr 17, 2020

(Standard links)

@civibot civibot bot added the master label Apr 17, 2020
@@ -136,10 +136,8 @@ public function run() {

/**
* Browse all jobs.
*
* @param null $action
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's almost like foreshadowing that the variable was declared as type null...

Anyway, agreed the parameter isn't used in either function.

@colemanw colemanw merged commit 816fa1d into civicrm:master Apr 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants