Elgg/Elgg — pull request #372 by ewinslow (2012-08-26 02:17:19+00:00)
Title: #4553: Database object

This is a pretty straightforward refactor -- basically a 1-to-1 replacement for all the procedural methods in lib/database.php. Also updates some of the usage in Entity classes to go through the DB object instead of using the procedural methods.