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