mirror of
https://bitbucket.org/jsuto/piler.git
synced 2025-06-14 22:17:02 +02:00
added online users feature
This commit is contained in:
@ -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();
|
||||
|
Reference in New Issue
Block a user