From 2a1db64b3ab5e0050807f7f9dbcfe29b72809aaa Mon Sep 17 00:00:00 2001 From: Christian Schneider Date: Tue, 12 Feb 2019 14:50:15 +0100 Subject: Migrate old style constructors to __construct, temporary transition functions for it_dbi (map, mapgen) and it_user (ad, login_user) --- it_mail.class | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'it_mail.class') diff --git a/it_mail.class b/it_mail.class index a407e54..1db36cb 100644 --- a/it_mail.class +++ b/it_mail.class @@ -61,7 +61,7 @@ class it_mail * Note: Headers To, Cc, Bcc can be arrays * @param $headers Array of headers for this email, e.g. From, To and Subject */ -function it_mail($headers = array()) +function __construct($headers = array()) { $this->charset = ini_get('default_charset'); -- cgit v1.2.3