Slight changes in behaviour

This commit is contained in:
Darko
2013-11-22 14:56:43 +01:00
parent b2eea4e668
commit 6ef81fc4fc
5 changed files with 17 additions and 18 deletions
+2 -4
View File
@@ -169,12 +169,12 @@ class Functions
$groups = new Groups();
$functions = new Functions();
$par2 = $nntp->getMessage($functions->getByNameByID($groupID), $messageID);
if ($par2 === false || PEAR::isError($par2))
if (PEAR::isError($par2))
{
$nntp->doQuit();
$nntp->doConnect();
$par2 = $nntp->getMessage($functions->getByNameByID($groupID), $messageID);
if ($par2 === false || PEAR::isError($par2))
if (PEAR::isError($par2))
{
$nntp->doQuit();
return false;
@@ -226,8 +226,6 @@ class Functions
else
return false;
}
else
return false;
}
// Check if the NZB is there, returns path, else false.