public static function CleantalkFuncs::_cleantalk_get_ws in Anti Spam by CleanTalk 7.4
Same name and namespace in other branches
- 7.5 src/CleantalkFuncs.php \CleantalkFuncs::_cleantalk_get_ws()
Cleantalk inner function - gets working server.
1 call to CleantalkFuncs::_cleantalk_get_ws()
- CleantalkFuncs::_cleantalk_check_spam in src/
CleantalkFuncs.php - Cleantalk inner function - performs antispam checking.
File
- src/
CleantalkFuncs.php, line 762
Class
- CleantalkFuncs
- Cleantalk class create request
Code
public static function _cleantalk_get_ws() {
return array(
'work_url' => variable_get('cleantalk_work_url', ''),
'server_url' => variable_get('cleantalk_server_url', 'http://moderate.cleantalk.org'),
'server_ttl' => variable_get('cleantalk_server_ttl', 0),
'server_changed' => variable_get('cleantalk_server_changed', 0),
);
}