Remove superfluous function valid_user()
commitc5014b0752d2544cfb04522bda164e89246702bd
authorLukas Fleischer <lfleischer@archlinux.org>
Fri, 11 Sep 2015 19:56:51 +0000 (11 21:56 +0200)
committerLukas Fleischer <lfleischer@archlinux.org>
Fri, 11 Sep 2015 20:14:28 +0000 (11 22:14 +0200)
tree55e2158c7c06228026d6c852711374f4d09f12c0
parent396e50bdc88feae9d0048d1c3dab776388d96dc7
Remove superfluous function valid_user()

This helper function was almost 100% identical to uid_from_username().
Switch to using uid_from_username(), which has a much better name and
implementation, everywhere.

Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
web/html/addvote.php
web/lib/acctfuncs.inc.php