Remove extra conditional block to call tick()
Remove extra conditional block to call tick()

Instead of having this conditional block in 2 places,
simply place it at the top.
It was going to run either way, and this is simpler.

ampproject/amp-toolbox-php,ampproject/amp-toolbox-php