wfMsgReplaceArgs: Don't use count(), if the actual amount of entries isn't needed
authorFlorian <florian.schmidt.stargatewissen@gmail.com>
Wed, 13 Jan 2016 17:55:08 +0000 (18:55 +0100)
committerFlorianschmidtwelzow <florian.schmidt.stargatewissen@gmail.com>
Sat, 30 Jan 2016 21:31:08 +0000 (21:31 +0000)
commit15c2401d0c0b038a75a1862430c762b21630d913
tree3a19e1e69046e62ab4e5b1d3cd8c4afce313626d
parent39ef7941b0dc2ef296846dadbca27d444fc83dd5
wfMsgReplaceArgs: Don't use count(), if the actual amount of entries isn't needed

The only use of the return value of count() is, to check, if the array is empty or
not. This can be done in an easier way and a bit more performant, especially for
large arrays.

Change-Id: If119ead9230ba1783b8c853c18c379f174910e51
includes/GlobalFunctions.php