summaryrefslogtreecommitdiffstats
path: root/usr/local
diff options
context:
space:
mode:
authorPhil Davis <phil.davis@inf.org>2014-12-29 20:16:28 +0545
committerPhil Davis <phil.davis@inf.org>2014-12-29 20:16:28 +0545
commitaff83787a3c7b24a342b3d7ce720887b30072865 (patch)
tree911f37aa3cee4d6c26110a6b1f3d51d9575702d9 /usr/local
parent994a064416579453452054e1fee17268bbb74ab2 (diff)
downloadpfsense-aff83787a3c7b24a342b3d7ce720887b30072865.zip
pfsense-aff83787a3c7b24a342b3d7ce720887b30072865.tar.gz
Simplify cron array comparison
This works fine - I had not thought about how arrays are compared. Using "==" checks that the key/value pairs match in both arrays, regardless of the order the arrays happen to be in, which is what we want here. Using "===" would insist that the key/value pairs are also in the same order in the array and that the types and everything match identically, which we do not require.
Diffstat (limited to 'usr/local')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud