diff --git a/Changelog b/Changelog index 3664b1657..202d1be5b 100755 --- a/Changelog +++ b/Changelog @@ -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 diff --git a/misc/update/multiprocessing/.do_not_run/switch.php b/misc/update/multiprocessing/.do_not_run/switch.php index 07e6eb461..c4d81387d 100644 --- a/misc/update/multiprocessing/.do_not_run/switch.php +++ b/misc/update/multiprocessing/.do_not_run/switch.php @@ -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. *