File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -162,6 +162,7 @@ parameters:
162162 - Entity
163163 - Events
164164 Email :
165+ - I18n
165166 - Events
166167 Entity :
167168 - I18n
Original file line number Diff line number Diff line change 1212namespace CodeIgniter \Email ;
1313
1414use CodeIgniter \Events \Events ;
15+ use CodeIgniter \I18n \Time ;
1516use Config \Mimes ;
1617use ErrorException ;
1718
@@ -2038,8 +2039,8 @@ protected function sendData($data)
20382039 // See https://bugs.php.net/bug.php?id=39598 and http://php.net/manual/en/function.fwrite.php#96951
20392040 if ($ result === 0 ) {
20402041 if ($ timestamp === 0 ) {
2041- $ timestamp = time ();
2042- } elseif ($ timestamp < (time () - $ this ->SMTPTimeout )) {
2042+ $ timestamp = Time:: now ()-> getTimestamp ();
2043+ } elseif ($ timestamp < (Time:: now ()-> getTimestamp () - $ this ->SMTPTimeout )) {
20432044 $ result = false ;
20442045
20452046 break ;
You can’t perform that action at this time.
0 commit comments