Followup to r79848 (and really, make it useful...)
authorChad Horohoe <demon@users.mediawiki.org>
Mon, 24 Jan 2011 16:31:36 +0000 (16:31 +0000)
committerChad Horohoe <demon@users.mediawiki.org>
Mon, 24 Jan 2011 16:31:36 +0000 (16:31 +0000)
commitb3e99eec5b30d4a5458609d5a819f2aba2388055
tree83682120955dbeb9850d82844e848320b2933c9b
parent2e7a059abbb2b174a2c381744d23ed1c1fe3184c
Followup to r79848 (and really, make it useful...)

Turn DatabaseBase::classFromType() into newFromType() factory function for constructing a new object based on a given type and (optional) params. Documented it fairly clearly.

I think it looks nicer :)
includes/db/Database.php
includes/db/LoadBalancer.php
includes/extauth/MediaWiki.php
includes/filerepo/ForeignDBRepo.php
includes/installer/WebInstallerPage.php