Import recaptcha addon config to spamfilter module

This commit is contained in:
Kijin Sung 2020-09-30 21:35:52 +09:00
parent 57e46c4f86
commit 9c60a8932c
2 changed files with 72 additions and 4 deletions

View file

@ -19,9 +19,7 @@ class spamfilterModel extends spamfilter
*/
function getConfig()
{
// Get configurations (using the module model object)
$oModuleModel = getModel('module');
return $oModuleModel->getModuleConfig('spamfilter');
return ModuleModel::getModuleConfig('spamfilter');
}
/**