voters.php: Pull out DB code
commit09e50568e41a470093486dbd20f3aa4f4da08444
authorcanyonknight <canyonknight@gmail.com>
Wed, 23 May 2012 19:18:36 +0000 (23 15:18 -0400)
committerLukas Fleischer <archlinux@cryptocrack.de>
Fri, 6 Jul 2012 09:26:50 +0000 (6 11:26 +0200)
tree3f268cccf8d4c3fe085d2c0fcbd762bffa7fafe9
parent091c2b5f5523773604699b914c19e6b02ce290bc
voters.php: Pull out DB code

* Create new function in pkgfuncs.inc.php with SQL queries from voters.php
* Centralization of DB code important in a future transition to PDO interface

Signed-off-by: canyonknight <canyonknight@gmail.com>
Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
web/html/voters.php
web/lib/pkgfuncs.inc.php