mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 09:43:03 +00:00
aur.inc.php: Remove old and unused make_seed function
Signed-off-by: canyonknight <canyonknight@gmail.com> Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
This commit is contained in:
parent
d8d36d6f4b
commit
5ebf9d64ee
1 changed files with 0 additions and 7 deletions
|
@ -94,13 +94,6 @@ function valid_email($addy) {
|
|||
return true;
|
||||
}
|
||||
|
||||
# a new seed value for mt_srand()
|
||||
#
|
||||
function make_seed() {
|
||||
list($usec, $sec) = explode(' ', microtime());
|
||||
return (float) $sec + ((float) $usec * 10000);
|
||||
}
|
||||
|
||||
# generate a (hopefully) unique session id
|
||||
#
|
||||
function new_sid() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue