passreset.php: Pull out DB code
commit82d234c4d559a80ab33b682e004e5991f65a8017
authorcanyonknight <canyonknight@gmail.com>
Wed, 23 May 2012 19:30:21 +0000 (23 15:30 -0400)
committerLukas Fleischer <archlinux@cryptocrack.de>
Fri, 6 Jul 2012 09:27:00 +0000 (6 11:27 +0200)
tree6e4031d3148a49e56d36aa6da48a76b543f231e0
parentf93f1a652ffec5cca0f9bdfb7895a5439382bd2a
passreset.php: Pull out DB code

* Move DB code in passreset.php to new functions in acctfuncs.inc.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/passreset.php
web/lib/acctfuncs.inc.php