function lingotek_get_cms_key in Lingotek Translation 7.3
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.4 lingotek.api.inc \lingotek_get_cms_key()
- 7.5 lingotek.remote.inc \lingotek_get_cms_key()
- 7.6 lingotek.remote.inc \lingotek_get_cms_key()
File
- ./
lingotek.api.inc, line 360
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 "";
}
}