Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Z
z-push
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Björn Fischer
z-push
Commits
33f9bead
Commit
33f9bead
authored
Jun 08, 2016
by
Ralf Becker
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ZP-960 Other fatal PHP 7 errors.
Released under the Affero GNU General Public License (AGPL) version 3.
parent
e729b422
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
smtp.php
src/backend/imap/Mail/smtp.php
+3
-3
No files found.
src/backend/imap/Mail/smtp.php
View file @
33f9bead
...
@@ -238,7 +238,7 @@ class Mail_smtp extends Mail {
...
@@ -238,7 +238,7 @@ class Mail_smtp extends Mail {
$this
->
addServiceExtensionParameter
(
'XVERP'
,
is_bool
(
$params
[
'verp'
])
?
null
:
$params
[
'verp'
]);
$this
->
addServiceExtensionParameter
(
'XVERP'
,
is_bool
(
$params
[
'verp'
])
?
null
:
$params
[
'verp'
]);
}
}
register_shutdown_function
(
array
(
&
$this
,
'_Mail_smtp'
));
register_shutdown_function
(
array
(
$this
,
'_Mail_smtp'
));
}
}
/**
/**
...
@@ -377,13 +377,13 @@ class Mail_smtp extends Mail {
...
@@ -377,13 +377,13 @@ class Mail_smtp extends Mail {
* @since 1.2.0
* @since 1.2.0
* @access public
* @access public
*/
*/
function
&
getSMTPObject
()
function
getSMTPObject
()
{
{
if
(
is_object
(
$this
->
_smtp
)
!==
false
)
{
if
(
is_object
(
$this
->
_smtp
)
!==
false
)
{
return
$this
->
_smtp
;
return
$this
->
_smtp
;
}
}
$this
->
_smtp
=
&
new
Net_SMTP
(
$this
->
host
,
$this
->
_smtp
=
new
Net_SMTP
(
$this
->
host
,
$this
->
port
,
$this
->
port
,
$this
->
localhost
,
$this
->
localhost
,
$this
->
pipelining
,
$this
->
pipelining
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment