remove WebGUI::Utility::randint

This commit is contained in:
Graham Knop 2010-08-20 12:58:50 -05:00
parent ff70751bc5
commit cb938487cb
3 changed files with 2 additions and 35 deletions

View file

@ -182,7 +182,7 @@ sub gateway {
my $url = $self->make_urlmap_work($self->session->config->get("gateway")).'/'.$pageUrl;
$url =~ s/\/+/\//g;
if ($self->session->setting->get("preventProxyCache") == 1 and !$skipPreventProxyCache) {
$url = $self->append($url,"noCache=".randint(0,1000).':'.time());
$url = $self->append($url,"noCache=".int(rand(1001)).':'.time());
}
if ($pairs) {
$url = $self->append($url,$pairs);