[FIX] MktgLeadController + ContactController: rimuovi parent::__construct()
BaseController non ha costruttore — la chiamata parent::__construct() causava Fatal Error "Cannot call constructor" su ogni richiesta. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
b1dcd4cbd7
commit
b909136d53
@ -15,7 +15,6 @@ class ContactController extends BaseController
|
|||||||
|
|
||||||
public function __construct()
|
public function __construct()
|
||||||
{
|
{
|
||||||
parent::__construct();
|
|
||||||
$this->email = new EmailService();
|
$this->email = new EmailService();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -23,7 +23,6 @@ class MktgLeadController extends BaseController
|
|||||||
|
|
||||||
public function __construct()
|
public function __construct()
|
||||||
{
|
{
|
||||||
parent::__construct();
|
|
||||||
$this->email = new EmailService();
|
$this->email = new EmailService();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user