]> git.pld-linux.org Git - packages/eventum.git/commitdiff
- php 4.4.0 killer
authorElan Ruusamäe <glen@pld-linux.org>
Mon, 24 Oct 2005 22:19:29 +0000 (22:19 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    eventum-php440.patch -> 1.1

eventum-php440.patch [new file with mode: 0644]

diff --git a/eventum-php440.patch b/eventum-php440.patch
new file mode 100644 (file)
index 0000000..fb0aea0
--- /dev/null
@@ -0,0 +1,29 @@
+--- ./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);
This page took 0.098097 seconds and 4 git commands to generate.