function lingotek_get_cms_key in Lingotek Translation 7.6
Same name and namespace in other branches
- 6 lingotek.api.inc \lingotek_get_cms_key()
- 7.2 lingotek.api.inc \lingotek_get_cms_key()
- 7.3 lingotek.api.inc \lingotek_get_cms_key()
- 7.4 lingotek.api.inc \lingotek_get_cms_key()
- 7.5 lingotek.remote.inc \lingotek_get_cms_key()
File
- ./
lingotek.remote.inc, line 490
Code
function lingotek_get_cms_key() {
global $_lingotek_client;
$output = LingotekApi::instance()
->request("getCMSKey");
if ($output->results == "success") {
variable_del('lingotek_password');
return $output->cms;
}
else {
return "";
}
}