Skip to content
This repository has been archived by the owner on Sep 24, 2018. It is now read-only.

Remove redundant isset() before unset(). #2868

Merged
merged 1 commit into from
Oct 19, 2016

Conversation

schlessera
Copy link
Member

Making an isset() check of a variable before an unset() of that same variable is redundant and only produces unnecessarily convoluted code.

This PR removes such a check.

@rmccue rmccue added this to the 2.0 milestone Oct 19, 2016
@rmccue rmccue merged commit 54c2888 into WP-API:develop Oct 19, 2016
@schlessera schlessera deleted the as/remove-isset-before-unset branch October 19, 2016 11:37
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants