Deprecate version constants in SMTP and POP3 classes; they will always be the same as PHPMailer:VERSION
This commit is contained in:
parent
6631e9049e
commit
2050f506c3
|
|
@ -45,6 +45,7 @@ class POP3
|
|||
* The POP3 PHPMailer Version number.
|
||||
*
|
||||
* @var string
|
||||
* @deprecated This constant will be removed in PHPMailer 8.0. Use `PHPMailer::VERSION` instead.
|
||||
*/
|
||||
const VERSION = '7.0.0';
|
||||
|
||||
|
|
|
|||
|
|
@ -34,6 +34,7 @@ class SMTP
|
|||
* The PHPMailer SMTP version number.
|
||||
*
|
||||
* @var string
|
||||
* @deprecated This constant will be removed in PHPMailer 8.0. Use `PHPMailer::VERSION` instead.
|
||||
*/
|
||||
const VERSION = '7.0.0';
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue