Allow ORMTable to access a foreign wiki.
authordaniel <daniel.kinzler@wikimedia.de>
Wed, 26 Sep 2012 15:42:32 +0000 (17:42 +0200)
committerdaniel <daniel.kinzler@wikimedia.de>
Thu, 11 Oct 2012 15:51:15 +0000 (17:51 +0200)
commit000f5db3602a39ad3b7cd671a1165393b0aa41df
treee649002daa32404a924b4297f9a9c59965f1d8dc
parentf85255bd3b1255b642f529cb90882898176b4cf7
Allow ORMTable to access a foreign wiki.

wfGetDB() allows us to connect to another wiki's database using
LoadBalancer's openForeignConnection method. This change adds an
option to ORMTable that allows it to use this facility, so it
can be used to access tables on other wikis.

Change-Id: I261a2a31e7188f6793b8a110ab764be5ecd09920
includes/db/IORMTable.php
includes/db/ORMTable.php