function livechat_is_installed in LiveChat 8
Same name and namespace in other branches
- 8.2 livechat.module \livechat_is_installed()
- 7 livechat.module \livechat_is_installed()
Checks whether LiveChat is correctly set up.
Return value
mixed License number or FALSE.
1 call to livechat_is_installed()
File
- ./
livechat.module, line 98 - LiveChat module.
Code
function livechat_is_installed() {
$configs = livechat_configs();
$license = $configs
->get('livechat_license');
if (empty($license)) {
return FALSE;
}
return livechat_validate_license($license);
}