diff --git a/lib/Fred.class.php b/lib/Fred.class.php index c97d5d4..0da20b2 100644 --- a/lib/Fred.class.php +++ b/lib/Fred.class.php @@ -141,13 +141,8 @@ class Fred { $urlg1pub = $matches[1]; $page2 = ''; - $rounds = 0; - - while (empty($page2) and $rounds < 10) { - - sleep($this->gatewayDelay); - $page2 = file_get_contents($urlg1pub); - } + sleep($this->gatewayDelay); + $page2 = file_get_contents($urlg1pub); if (empty($page2)) {