Allow array condition for Database::conditional
authorumherirrender <umherirrender_de.wp@web.de>
Sat, 25 Aug 2012 18:24:59 +0000 (20:24 +0200)
committerumherirrender <umherirrender_de.wp@web.de>
Sat, 25 Aug 2012 18:24:59 +0000 (20:24 +0200)
commit7a5f4b431da693ab14e16e77e603d08034cd3fac
treed77c4ec7c28c6951b0e4c30abbf0ab80f2a42e99
parent4c5214f27f722b9b3c54b68a7e9d72a60915e053
Allow array condition for Database::conditional

Change the one use of that method to use the new syntax.
Add some tests.

Change-Id: I9ad4e5b5e97d1d13cfd858105167ca5d20ffaf83
includes/Category.php
includes/db/Database.php
tests/phpunit/includes/db/DatabaseSQLTest.php