Remove unused collectionCheck function from switch.php

This commit is contained in:
DariusIII
2018-07-16 12:42:03 +02:00
parent 9a636a32b2
commit 534bc2442b
2 changed files with 1 additions and 16 deletions
+1
View File
@@ -1,4 +1,5 @@
2018-07-16 DariusIII
* CHg: Remove unused collectionCheck function from switch.php
* Chg: Update various scripts in misc folder
* Chg: Update sphinx tables creation scripts
* Chg: Update used libraries to latest versions
@@ -428,22 +428,6 @@ function charCheck($char)
return false;
}
/**
* Check if the group should be processed.
*
* @param int $groupID
*/
function collectionCheck($groupID)
{
try {
if (DB::select(sprintf('SELECT id FROM collections_%d LIMIT 1', $groupID)) === 0) {
exit();
}
} catch (PDOException $e) {
$e->getMessage();
}
}
/**
* Connect to usenet, return NNTP object.
*