See attached patch for small simplification of the conditional operator.

When the logic in the if() block ending with continue/break/return there is no need in the else operator.

CommentFileSizeAuthor
simplify-code-drushhosting-queued.patch904 bytesdpovshed

Comments

dpovshed created an issue. See original summary.

helmo’s picture

Status: Needs review » Fixed

Committed, thanks.

  • helmo committed e377686 on 7.x-3.x authored by dpovshed
    Issue #3004041 by dpovshed: Simplify code in drush_hosting_queued()
    

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.