forked from extern/egroupware
define/declare randomstring as static function
This commit is contained in:
parent
ff32c498c6
commit
1d48d7d217
@ -257,7 +257,7 @@
|
|||||||
*
|
*
|
||||||
* @param $size int-size of random string to return
|
* @param $size int-size of random string to return
|
||||||
*/
|
*/
|
||||||
function randomstring($size)
|
static function randomstring($size)
|
||||||
{
|
{
|
||||||
$s = '';
|
$s = '';
|
||||||
srand((double)microtime()*1000000);
|
srand((double)microtime()*1000000);
|
||||||
|
Loading…
Reference in New Issue
Block a user