prevent double posting of status updates and comments

This commit is contained in:
Zach Prezkuta 2012-11-01 17:14:42 -06:00
commit e9b26ffbb3
27 changed files with 62 additions and 13 deletions

View file

@ -1796,3 +1796,10 @@ function curPageURL() {
return $pageURL;
}
function random_digits($digits) {
$rn = '';
for($i = 0; $i < $digits; $i++) {
$rn .= rand(0,9);
}
return $rn;
}