Migrate all DB code to use PDO
commite171f6f34eeacf35cf7142b4788d43e7d0978546
authorcanyonknight <canyonknight@gmail.com>
Wed, 8 Aug 2012 22:09:51 +0000 (8 18:09 -0400)
committerLukas Fleischer <archlinux@cryptocrack.de>
Mon, 17 Sep 2012 22:58:46 +0000 (18 00:58 +0200)
tree28ab4e0a631d0a16e5972490c0ed6cfbad8b8231
parentb3393208fb00a00e77a475e8007168f266718ac5
Migrate all DB code to use PDO

All DB code currently uses the quickly aging mysql_* functions. These
functions are strongly discouraged and may eventually be deprecated.

Transition all code to utilize the PDO data access abstraction layer. PDO
allows for consistent query code across multiple databases. This could
potentially allow for someone to use a database other than MySQL with
minimal code changes.

All functions and behaviors are reproduced as faithfully as possible with
PDO equivalents and some changes in code.

Signed-off-by: canyonknight <canyonknight@gmail.com>
Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
INSTALL
UPGRADING
web/lib/acctfuncs.inc.php
web/lib/aur.inc.php
web/lib/aurjson.class.php
web/lib/cachefuncs.inc.php
web/lib/config.inc.php.proto
web/lib/pkgfuncs.inc.php
web/lib/stats.inc.php
web/lib/translator.inc.php
web/template/account_search_results.php