mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-10-07 10:02:14 -04:00
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:
1 parent
e94e5e634c
commit
f842be50b3
5 files changed
+48
-148
No files matched your search
@@ -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];
|
||||
|
||||
Reference in new issue
Block a user