? ? Pending

User tests: Successful: Unsuccessful:

avatar eopws
eopws
12 Apr 2021

Summary of Changes

Delete extra if block.
This pull request is not assigned with any issue as it makes the code more redable

Testing Instructions

No testing instruction is specified as the pull request doesn't change the application logic, but makes code more readable

avatar eopws eopws - open - 12 Apr 2021
avatar eopws eopws - change - 12 Apr 2021
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 12 Apr 2021
Category Libraries
avatar brianteeman
brianteeman - comment - 12 Apr 2021

What makes you think the code isnt required?

Where is it used? That way people will be able to test it.

avatar eopws
eopws - comment - 12 Apr 2021

What makes you think the code isnt required?

Because the code has inner if block with the same condition (!isset($paths[$dispatcherHash][$path])) as the outer if block has (!isset($paths[$dispatcherHash][$path]))

avatar brianteeman
brianteeman - comment - 12 Apr 2021

That's exactly the sort of information that should have been in your first post explaining the change. Remember that a diff/patch/ will not always show enough code for it to be obvious

avatar eopws
eopws - comment - 12 Apr 2021

Sory, if I provided not enough information. I thought this pull request has too small changes to write a lot to description.

avatar ReLater ReLater - test_item - 12 Apr 2021 - Tested successfully
avatar ReLater
ReLater - comment - 12 Apr 2021

I have tested this item successfully on 44ba3bc

Code review. Obviously redundant code after checking line 247 (outer if{})


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/33115.

avatar joomdonation joomdonation - test_item - 12 Apr 2021 - Tested successfully
avatar joomdonation
joomdonation - comment - 12 Apr 2021

I have tested this item successfully on 44ba3bc


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/33115.

avatar Quy Quy - change - 12 Apr 2021
Status Pending Ready to Commit
Labels Added: ?
avatar Quy
Quy - comment - 12 Apr 2021

RTC


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/33115.

avatar eopws eopws - change - 13 Apr 2021
Labels Added: ? ?
Removed: ?
avatar eopws
eopws - comment - 13 Apr 2021

Does anybody know how to delete that second commit that I added accidentally?

avatar richard67 richard67 - change - 14 Apr 2021
Labels Removed: ?
avatar richard67
richard67 - comment - 14 Apr 2021

@eopws I've reverted your last commit for you. Maybe one thing you should keep in mind when making again a pull request in future: Please always first create a new branch based on the branch for which the PR shall be made, which is in this case staging, and then use that new branch for the PR. Golden rule: For each PR a separate branch.

avatar HLeithner HLeithner - change - 14 Apr 2021
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2021-04-14 18:32:11
Closed_By HLeithner
Labels Added: ?
avatar HLeithner HLeithner - close - 14 Apr 2021
avatar HLeithner HLeithner - merge - 14 Apr 2021
avatar HLeithner
HLeithner - comment - 14 Apr 2021

Thanks

Add a Comment

Login with GitHub to post a comment