X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=boot.php;h=6373b2c64b4c525753897d9f95e859280492f112;hb=4894e89f036be1f8a82523ac69d56ae36e7685df;hp=a94b380387bcb262e50a0826e7ab1fd0821c2731;hpb=bd972151478f40f73585519110700222a1931d44;p=friendica.git diff --git a/boot.php b/boot.php index a94b380387..6373b2c64b 100644 --- a/boot.php +++ b/boot.php @@ -673,16 +673,6 @@ function curPageURL() return $pageURL; } -function random_digits($digits) -{ - $rn = ''; - for ($i = 0; $i < $digits; $i++) { - /// @TODO Avoid rand/mt_rand, when it comes to cryptography, they are generating predictable (seedable) numbers. - $rn .= rand(0, 9); - } - return $rn; -} - function get_server() { $server = Config::get("system", "directory");