]> git.pld-linux.org Git - packages/eventum.git/commitdiff
- outdated
authorElan Ruusamäe <glen@pld-linux.org>
Tue, 24 Jan 2006 15:17:40 +0000 (15:17 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    eventum-new-issue.patch -> 1.2
    eventum-php440.patch -> 1.4
    eventum-reports-fix.patch -> 1.2

eventum-new-issue.patch [deleted file]
eventum-php440.patch [deleted file]
eventum-reports-fix.patch [deleted file]

diff --git a/eventum-new-issue.patch b/eventum-new-issue.patch
deleted file mode 100644 (file)
index a575ab4..0000000
+++ /dev/null
@@ -1,34 +0,0 @@
---- ./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;
diff --git a/eventum-php440.patch b/eventum-php440.patch
deleted file mode 100644 (file)
index ac7059d..0000000
+++ /dev/null
@@ -1,75 +0,0 @@
---- ./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']);
diff --git a/eventum-reports-fix.patch b/eventum-reports-fix.patch
deleted file mode 100644 (file)
index 1dbee91..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
---- ./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();
This page took 0.060085 seconds and 4 git commands to generate.