BxSEMigAlertsResponse.php 785 B

1234567891011121314151617181920212223242526272829
  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 SocialEngineMigration SocialEngine Migration
  7. * @ingroup UnaModules
  8. *
  9. * @{
  10. */
  11. class BxSEMigAlertsResponse extends BxBaseModTextAlertsResponse
  12. {
  13. public function __construct()
  14. {
  15. $this -> MODULE = 'bx_se_migration';
  16. parent::__construct();
  17. }
  18. public function response($oAlert)
  19. {
  20. parent::response($oAlert);
  21. if (('system' == $oAlert -> sUnit && 'encrypt_password_after' == $oAlert -> sAction) || ('account' == $oAlert -> sUnit && 'edit' == $oAlert -> sAction))
  22. BxDolService::call($this -> MODULE, 'social_engine_response', array($oAlert));
  23. }
  24. }
  25. /** @} */