Move Mailchimp plugin business logic

- Remove business logic from Config controller
- Add business logic to MailchimpPlugin.php
- Add config view for mailchimp plugin
- gutted integrations_config.php
- Added parameter type to getConfig() function parameter to remove warning in override

Signed-off-by: objec <objecttothis@gmail.com>
This commit is contained in:
objec committed 2026-04-08 14:47:47 +04:00
1 parent e94e5e634c
commit f842be50b3
5 files changed
+48 -148

No files matched your search

+2 -2
View File
@@ -99,10 +99,10 @@ class Secure_Controller extends BaseController
}
/**
* @param $key
* @param string $key
* @return mixed|void
*/
public function getConfig($key)
public function getConfig(string $key)
{
if (isset($config[$key])) {
return $config[$key];