BxCidaasConAlerts.php 613 B

12345678910111213141516171819202122232425262728
  1. <?php defined('BX_DOL') or die('hack attempt');
  2. /**
  3. * Copyright (c) UNA, Inc - https://una.io
  4. * MIT License - https://opensource.org/licenses/MIT
  5. *
  6. * @defgroup CidaasConnect Cidaas Connect
  7. * @ingroup UnaModules
  8. *
  9. * @{
  10. */
  11. class BxCidaasConAlerts extends BxBaseModConnectAlerts
  12. {
  13. function __construct()
  14. {
  15. parent::__construct();
  16. $this -> oModule = BxDolModule::getInstance('bx_cidaascon');
  17. }
  18. public function response($o)
  19. {
  20. if ($o->sUnit == 'account' && $o->sAction == 'logout') {
  21. bx_srv('bx_cidaascon', 'logout');
  22. }
  23. }
  24. }
  25. /** @} */