Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
wopsononock committed Aug 24, 2023
2 parents 55409d6 + 89186c3 commit a463d0b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions AkismetSettingsForm.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,10 @@ function readInputData() {
/**
* Save settings.
*/
function execute() {
function execute(...$functionArgs) {
$plugin = $this->_plugin;
$plugin->updateSetting(CONTEXT_SITE, 'akismetKey', $this->getData('akismetKey'), 'string');
$plugin->updateSetting(CONTEXT_SITE, 'akismetPrivacyNotice', $this->getData('akismetPrivacyNotice'), 'boolean');
$plugin->updateSetting(CONTEXT_SITE, 'akismetPrivacyNotice', $this->getData('akismetPrivacyNotice'), 'bool');
}

/**
Expand Down

0 comments on commit a463d0b

Please sign in to comment.