function LingotekSession::__destruct in Lingotek Translation 7.4
Same name and namespace in other branches
- 6 lingotek.session.inc \LingotekSession::__destruct()
- 7.7 lingotek.session.inc \LingotekSession::__destruct()
- 7.2 lingotek.session.inc \LingotekSession::__destruct()
- 7.3 lingotek.session.inc \LingotekSession::__destruct()
- 7.5 lingotek.session.inc \LingotekSession::__destruct()
- 7.6 lingotek.session.inc \LingotekSession::__destruct()
File
- ./
lingotek.session.inc, line 46 - Handles api calls, logging in and logging out of LingoTek
Class
Code
function __destruct() {
if ($this
->isLoggedIn()) {
$this
->logout();
}
}