Use a secondary db connection for Revsion::getParentLength in api
authorumherirrender <umherirrender_de.wp@web.de>
Sun, 2 Mar 2014 18:07:06 +0000 (19:07 +0100)
committerSpringle <springle@wikimedia.org>
Tue, 4 Mar 2014 02:10:22 +0000 (02:10 +0000)
commit44c60036b5cfd588f6f8e80917b3d336e720aeed
tree8d75d00e1cd8ae598d3717c31b8e1c26b4f96a3e
parent6c03dceae4ed465e0daaa40359022a6c6cfa6b39
Use a secondary db connection for Revsion::getParentLength in api

Getting api connection before the connection is set to the named
connection and store it in a local var to use it later.
Same comment as in Special:Contributions

Bug: 61982
Change-Id: Ia66c4a65a24876e2a528034e8e003aa535e6b689
includes/api/ApiQueryUserContributions.php