Fix database access in ApiSetNotificationTimestamp
authorBrad Jorsch <bjorsch@wikimedia.org>
Sat, 22 Dec 2012 19:54:03 +0000 (14:54 -0500)
committerBrad Jorsch <bjorsch@wikimedia.org>
Sat, 22 Dec 2012 19:54:03 +0000 (14:54 -0500)
commitd95ee06f600f8b79575840c4231bef07216c6e17
tree52f96d80fe7e0be667d3dba184896944b78827d2
parent9a741ee4a097ef1c112d93786b0038f71e737247
Fix database access in ApiSetNotificationTimestamp

ApiBase::getDB() doesn't take a parameter indicating whether DB_SLAVE or
DB_MASTER is wanted. Use wfGetDB() instead.

Change-Id: Ic2057a1561ad31a0638eea6bae887982a4fe8d80
includes/api/ApiSetNotificationTimestamp.php