CSSMin: Clean up the logic in getLocalFileReferences()
authorBartosz Dziewoński <matma.rex@gmail.com>
Thu, 27 Feb 2014 13:08:48 +0000 (14:08 +0100)
committerBartosz Dziewoński <matma.rex@gmail.com>
Fri, 28 Feb 2014 20:26:56 +0000 (21:26 +0100)
commitae839a0facaaf7d0b8e8af64a8cd14b09bfb8b82
tree52492eb05127d5537cc753e7fd65427ef236a01b
parentad3449ccc2a768dc4185667bbb6ae74072f7eb5b
CSSMin: Clean up the logic in getLocalFileReferences()

The function used to check if the $path parameter is null on every
inner loop iteration, only to effectively return an empty array if it
was. Rephrased the code to say exactly that.

(Not sure what the behavior is good for, though…)

Change-Id: I716bfde581d3ed4c02f0d9f544beb9d0a1906261
includes/libs/CSSMin.php