Fix pingback on non-MySQL
authorTim Starling <tstarling@wikimedia.org>
Wed, 1 Aug 2018 01:30:49 +0000 (11:30 +1000)
committerTim Starling <tstarling@wikimedia.org>
Wed, 1 Aug 2018 01:33:19 +0000 (11:33 +1000)
commitba54f7f90dce0e06ff3c4ad1ec141362f10be9a9
treef256daa445c1c0b5d18fd721a5d50823b50b3f2a
parent3c4f47cd8cc63dbc0ac31984108874deb2e6f078
Fix pingback on non-MySQL

MySQL has its own implementation of upsert(), but the others rely on
$uniqueIndexes being a field list, not a field/value associative array.
The previous code generated an SQL error when checking for existing
values.

Bug: T200864
Change-Id: Ifb56f7f350fbb84144bc6f5a1dd76939816338a6
includes/Pingback.php