Clean up CDB classes
authorChad Horohoe <chadh@wikimedia.org>
Thu, 7 Nov 2013 22:03:08 +0000 (14:03 -0800)
committerChad Horohoe <chadh@wikimedia.org>
Sat, 9 Nov 2013 01:19:50 +0000 (17:19 -0800)
commit03c5605526062715efac0e00111ca9ec5895a36a
tree3cc6f2828fcef9aa605ad18eb66af56781e7eb77
parent3328266ed694fd6ff7fadd562d440c7079923bc4
Clean up CDB classes

- Inheritance was a little funny, reduced some duplication
- Throw CdbException instead of plain MWException
- Abstracted wfDebug() to encourage reuse
- Declare visibility on a couple of public methods
- Move DBA implementations to their own file

Change-Id: I2edfeabaf62e39927abe869764ff2bd676821cd0
includes/AutoLoader.php
includes/utils/Cdb.php
includes/utils/CdbDBA.php [new file with mode: 0644]
includes/utils/CdbPHP.php