com web/bugs: Remove PEAR errors usage from no-feedback cron job: scripts/cron/no-feedback

Link: <a href=";a=commitdiff;h=9909448411387a0446cdbb83adc0015bb6225011" title=";a=commitdiff;h=9909448411387a0446cdbb83adc0015bb6225011">;a=commitdiff;h=9909448411387a0446cdbb...</a>

Remove PEAR errors usage from no-feedback cron job

The error handling has been refactored via

Changed paths:
M scripts/cron/no-feedback

diff --git a/scripts/cron/no-feedback b/scripts/cron/no-feedback
index 91ad4ad..a32b955 100755
--- a/scripts/cron/no-feedback
+++ b/scripts/cron/no-feedback
@@ -23,9 +23,7 @@ if ($dbh)
FROM bugdb
WHERE status = 'Feedback' AND ts2 < DATE_SUB(NOW(), INTERVAL {$after})
- if (PEAR::isError($res)) {
- throw new Exception("SQL Error in no-feedback");
- }
while ($bug = $res->fetchRow(PDO::FETCH_ASSOC))
list($mailto, $mailfrom, $bcc, $params) = get_package_mail($bug['package_name'], false, $bug['bug_type']);