function livechat_is_installed in LiveChat 7
Same name and namespace in other branches
- 8 livechat.module \livechat_is_installed()
- 8.2 livechat.module \livechat_is_installed()
Checks whether LiveChat is correctly set up.
3 calls to livechat_is_installed()
- livechat_admin_license_form in ./
livechat.admin.inc - License installation form.
- livechat_admin_settings_form in ./
livechat.admin.inc - Settings form.
- livechat_requirements in ./
livechat.install - Implements hook_requirements().
File
- ./
livechat.module, line 131 - LiveChat module.
Code
function livechat_is_installed() {
$license = variable_get('livechat_license');
if (empty($license)) {
return FALSE;
}
return livechat_validate_license($license);
}