added online users feature

This commit is contained in:
SJ
2013-07-24 22:14:05 +02:00
parent 920f4208ba
commit 93e9c7ce33
16 changed files with 159 additions and 1 deletions

View File

@ -18,6 +18,11 @@ class ControllerLoginLogout extends Controller {
$this->document->title = $this->data['text_logout'];
if(ENABLE_SAAS == 1) {
$this->load->model('saas/customer');
$this->model_saas_customer->offline(Registry::get('username'));
}
logout();
$this->render();