Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
security/mailzu: Add support for php80
PR: 263614 Approved by: submitter is maintainer
- Loading branch information
Showing
15 changed files
with
4,603 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- lib/AmavisdEngine.class.php.orig 2007-06-14 19:00:15 UTC | ||
+++ lib/AmavisdEngine.class.php | ||
@@ -48,7 +48,7 @@ class AmavisdEngine { | ||
* $param none | ||
* $return object Amavisd object | ||
*/ | ||
- function AmavisdEngine($host) { | ||
+ function __construct($host) { | ||
|
||
$this->socket = new Net_Socket(); | ||
$this->port = $GLOBALS['conf']['amavisd']['spam_release_port']; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- lib/DBAuth.class.php.orig 2007-06-14 19:00:15 UTC | ||
+++ lib/DBAuth.class.php | ||
@@ -81,7 +81,7 @@ class DBAuth { | ||
* DBEngine constructor to initialize object | ||
* @param none | ||
*/ | ||
- function DBAuth() { | ||
+ function __construct() { | ||
global $conf; | ||
|
||
$this->dbType = $conf['auth']['dbType']; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- lib/ExchAuth.class.php.orig 2007-06-14 19:00:15 UTC | ||
+++ lib/ExchAuth.class.php | ||
@@ -55,7 +55,7 @@ class ExchAuth { | ||
* @param string $domain | ||
* @return boolean | ||
*/ | ||
- function authUser($username, $password, $domain) { | ||
+ function __construct($username, $password, $domain) { | ||
|
||
$fulluser = $domain.'/'.$username; | ||
$mbox = imap_open('{'.$this->exchHost.'/imap}Inbox', $fulluser, $password); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- lib/IMAPAuth.class.php.orig 2007-06-14 19:00:15 UTC | ||
+++ lib/IMAPAuth.class.php | ||
@@ -36,7 +36,7 @@ class IMAPAuth { | ||
* Constructor to initialize object | ||
* @param none | ||
*/ | ||
- function IMAPAuth() { | ||
+ function __construct() { | ||
global $conf; | ||
|
||
$this->imapHosts = $conf['auth']['imap_hosts']; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- lib/Link.class.php.orig 2007-06-14 19:00:15 UTC | ||
+++ lib/Link.class.php | ||
@@ -29,7 +29,7 @@ class Link { | ||
* @param string $text_on_over text to display in status bar onmouseover | ||
* @param string $on_over javascript to call onmouseover | ||
*/ | ||
- function Link($url=null, $text=null, $class=null, $style=null, $text_on_over=null) { | ||
+ function __construct($url=null, $text=null, $class=null, $style=null, $text_on_over=null) { | ||
$this->url = $url; | ||
$this->text = $text; | ||
$this->_class = $class; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- lib/MailEngine.class.php.orig 2007-06-14 19:00:15 UTC | ||
+++ lib/MailEngine.class.php | ||
@@ -48,7 +48,7 @@ class MailEngine { | ||
* $param string The mail addr of the reader | ||
* $return object MailEngine object | ||
*/ | ||
- function MailEngine($mail_id, $recip) { | ||
+ function __construct($mail_id, $recip) { | ||
$this->recipient = $recip; | ||
$this->getRawContent($mail_id); | ||
$this->msg_error = false; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.