function _cleantalk_get_ws in Anti Spam by CleanTalk 7.2
Same name and namespace in other branches
- 8 cleantalk.module \_cleantalk_get_ws()
- 7 cleantalk.module \_cleantalk_get_ws()
Cleantalk inner function - gets working server.
2 calls to _cleantalk_get_ws()
- _cleantalk_check_spam in ./
cleantalk.module - Cleantalk inner function - performs antispam checking.
- _cleantalk_send_feedback in ./
cleantalk.module - Cleantalk inner function - sends feedback to server.
File
- ./
cleantalk.module, line 1818 - Main CleanTalk integration module functions.
Code
function _cleantalk_get_ws() {
return array(
'work_url' => variable_get('cleantalk_work_url', 'http://moderate.cleantalk.ru'),
'server_url' => variable_get('cleantalk_server_url', 'http://moderate.cleantalk.ru'),
'server_ttl' => variable_get('cleantalk_server_ttl', 0),
'server_changed' => variable_get('cleantalk_server_changed', 0),
);
}