+++ /dev/null
---- ./include/class.issue.php 2005-12-30 19:48:40.000000000 +0200
-+++ ./include/class.issue.phps 2006-01-03 23:53:27.000000000 +0200
-@@ -421,7 +421,7 @@
- Reminder_Action::clearLastTriggered($issue_id);
-
- // if old status was closed and new status is not, clear closed data from issue.
-- if ($old_details['sta_is_closed'] == 1) {
-+ if (@$old_details['sta_is_closed'] == 1) {
- $new_details = Status::getDetails($status_id);
- if ($new_details['sta_is_closed'] != 1) {
- Issue::clearClosed($issue_id);
-@@ -1349,7 +1349,6 @@
- $assignment_notifications[] = $assignee;
- $assignments_changed = true;
- }
-- $assignments_changed = true;
- }
- if (count($assignment_notifications) > 0) {
- Notification::notifyNewAssignment($assignment_notifications, $issue_id);
-@@ -2047,14 +2046,6 @@
- }
- }
- }
-- if (count($users) > 0) {
-- // automatically change the status to 'Assigned'
-- Issue::setStatus($new_issue_id, Status::getStatusID('Assigned'), FALSE);
--
-- // set this special variable to false, to avoid triggering
-- // another status update on the workflow class
-- $has_assignee = false;
-- }
-
- // now process any files being uploaded
- $found = 0;
+++ /dev/null
---- ./misc/download_emails.php 2005-10-25 00:46:28.000000000 +0300
-+++ /tmp/download_emails.php 2005-10-25 00:53:15.000000000 +0300
-@@ -88,7 +88,7 @@
- }
-
- // get the account ID since we need it for locking.
--$account_id = Email_Account::getAccountID($username, $hostname, $mailbox);
-+$account_id = @Email_Account::getAccountID($username, $hostname, $mailbox);
- if (($account_id == 0) && ($fix_lock != true)) {
- echo "Error: Could not find a email account with the parameter provided. Please verify your email account settings and try again.\n";
- exit;
-@@ -127,7 +127,7 @@
- exit;
- }
-
--$account = Email_Account::getDetails($account_id);
-+$account = @Email_Account::getDetails($account_id);
- $mbox = Support::connectEmailServer($account);
- if ($mbox == false) {
- echo "Error: Could not connect to the email server. Please verify your email account settings and try again.\n";
-@@ -137,7 +137,7 @@
- $total_emails = Support::getTotalEmails($mbox);
- if ($total_emails > 0) {
- for ($i = 1; $i <= $total_emails; $i++) {
-- Support::getEmailInfo($mbox, $account, $i);
-+ @Support::getEmailInfo($mbox, $account, $i);
- }
- }
- imap_expunge($mbox);
---- ./misc/process_mail_queue.php 2005-10-25 00:56:14.000000000 +0300
-+++ /tmp/process_mail_queue.php 2005-10-25 01:20:51.000000000 +0300
-@@ -63,11 +63,11 @@
-
- // handle only pending emails
- $limit = 50;
--Mail_Queue::send('pending', $limit);
-+@Mail_Queue::send('pending', $limit);
-
- // handle emails that we tried to send before, but an error happened...
- $limit = 50;
--Mail_Queue::send('error', $limit);
-+@Mail_Queue::send('error', $limit);
-
- Mail_Queue::removeProcessFile();
--?>
-\ No newline at end of file
-+?>
---- ./misc/check_reminders.php 2005-10-25 00:56:14.000000000 +0300
-+++ /tmp/check_reminders.php 2005-10-25 01:23:56.000000000 +0300
-@@ -64,7 +64,7 @@
- **/
- $triggered_issues = array();
-
--$reminders = Reminder::getList();
-+$reminders = @Reminder::getList();
- for ($i = 0; $i < count($reminders); $i++) {
- // if this is the weekend and this reminder isn't supposed to run on weekends skip
- if (($reminders[$i]['rem_skip_weekend'] == 1) && (in_array(date("w"), array(0,6)))) {
-@@ -80,14 +80,14 @@
- if (Reminder::isDebug()) {
- echo "Processing Reminder Action '" . $reminders[$i]['actions'][$y]['rma_title'] . "'\n";
- }
-- $conditions = Reminder_Condition::getList($reminders[$i]['actions'][$y]['rma_id']);
-+ $conditions = @Reminder_Condition::getList($reminders[$i]['actions'][$y]['rma_id']);
- if (count($conditions) == 0) {
- if (Reminder::isDebug()) {
- echo " - Skipping Reminder because there were no reminder conditions found\n";
- }
- continue;
- }
-- $issues = Reminder::getTriggeredIssues($reminders[$i], $conditions);
-+ $issues = @Reminder::getTriggeredIssues($reminders[$i], $conditions);
- // avoid repeating reminder actions, so get the list of issues
- // that were last triggered with this reminder action ID
- $repeat_issues = Reminder_Action::getRepeatActions($issues, $reminders[$i]['actions'][$y]['rma_id']);
+++ /dev/null
---- ./include/class.time_tracking.php~ 2005-12-30 01:23:58.000000000 +0200
-+++ ./include/class.time_tracking.php 2005-12-30 19:20:49.000000000 +0200
-@@ -533,7 +533,7 @@
- ttr_created_date BETWEEN '" . Misc::escapeString($start) . "' AND '" . Misc::escapeString($end) . "'
- GROUP BY
- ttc_title";
-- $res = $GLOBALS["db_api"]->dbh->getAssoc($stmt, '', '', DB_FETCHMODE_ASSOC);
-+ $res = $GLOBALS["db_api"]->dbh->getAssoc($stmt, false, array(), DB_FETCHMODE_ASSOC);
- if (PEAR::isError($res)) {
- Error_Handler::logError(array($res->getMessage(), $res->getDebugInfo()), __FILE__, __LINE__);
- return array();