1 --- ./misc/download_emails.php 2005-10-25 00:46:28.000000000 +0300
2 +++ /tmp/download_emails.php 2005-10-25 00:53:15.000000000 +0300
6 // get the account ID since we need it for locking.
7 -$account_id = Email_Account::getAccountID($username, $hostname, $mailbox);
8 +$account_id = @Email_Account::getAccountID($username, $hostname, $mailbox);
9 if (($account_id == 0) && ($fix_lock != true)) {
10 echo "Error: Could not find a email account with the parameter provided. Please verify your email account settings and try again.\n";
16 -$account = Email_Account::getDetails($account_id);
17 +$account = @Email_Account::getDetails($account_id);
18 $mbox = Support::connectEmailServer($account);
20 echo "Error: Could not connect to the email server. Please verify your email account settings and try again.\n";
22 $total_emails = Support::getTotalEmails($mbox);
23 if ($total_emails > 0) {
24 for ($i = 1; $i <= $total_emails; $i++) {
25 - Support::getEmailInfo($mbox, $account, $i);
26 + @Support::getEmailInfo($mbox, $account, $i);
30 --- ./misc/process_mail_queue.php 2005-10-25 00:56:14.000000000 +0300
31 +++ /tmp/process_mail_queue.php 2005-10-25 01:20:51.000000000 +0300
34 // handle only pending emails
36 -Mail_Queue::send('pending', $limit);
37 +@Mail_Queue::send('pending', $limit);
39 // handle emails that we tried to send before, but an error happened...
41 -Mail_Queue::send('error', $limit);
42 +@Mail_Queue::send('error', $limit);
44 Mail_Queue::removeProcessFile();
46 \ No newline at end of file
48 --- ./misc/check_reminders.php 2005-10-25 00:56:14.000000000 +0300
49 +++ /tmp/check_reminders.php 2005-10-25 01:23:56.000000000 +0300
52 $triggered_issues = array();
54 -$reminders = Reminder::getList();
55 +$reminders = @Reminder::getList();
56 for ($i = 0; $i < count($reminders); $i++) {
57 // if this is the weekend and this reminder isn't supposed to run on weekends skip
58 if (($reminders[$i]['rem_skip_weekend'] == 1) && (in_array(date("w"), array(0,6)))) {
60 if (Reminder::isDebug()) {
61 echo "Processing Reminder Action '" . $reminders[$i]['actions'][$y]['rma_title'] . "'\n";
63 - $conditions = Reminder_Condition::getList($reminders[$i]['actions'][$y]['rma_id']);
64 + $conditions = @Reminder_Condition::getList($reminders[$i]['actions'][$y]['rma_id']);
65 if (count($conditions) == 0) {
66 if (Reminder::isDebug()) {
67 echo " - Skipping Reminder because there were no reminder conditions found\n";
71 - $issues = Reminder::getTriggeredIssues($reminders[$i], $conditions);
72 + $issues = @Reminder::getTriggeredIssues($reminders[$i], $conditions);
73 // avoid repeating reminder actions, so get the list of issues
74 // that were last triggered with this reminder action ID
75 $repeat_issues = Reminder_Action::getRepeatActions($issues, $reminders[$i]['actions'][$y]['rma_id']);