mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-29 01:08:56 +00:00
Remove unused collectionCheck function from switch.php
This commit is contained in:
@@ -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.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user