SOURCES: eventum-php440.patch (NEW) - php 4.4.0 killer

glen glen at pld-linux.org
Tue Oct 25 00:19:34 CEST 2005


Author: glen                         Date: Mon Oct 24 22:19:34 2005 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- php 4.4.0 killer

---- Files affected:
SOURCES:
   eventum-php440.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/eventum-php440.patch
diff -u /dev/null SOURCES/eventum-php440.patch:1.1
--- /dev/null	Tue Oct 25 00:19:34 2005
+++ SOURCES/eventum-php440.patch	Tue Oct 25 00:19:29 2005
@@ -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);
================================================================



More information about the pld-cvs-commit mailing list