BxOrgsPrivacyNotifications.php 709 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 Organizations Organizations
  7. * @ingroup UnaModules
  8. *
  9. * @{
  10. */
  11. class BxOrgsPrivacyNotifications extends BxBaseModGroupsPrivacyNotifications
  12. {
  13. function __construct($aOptions, $oTemplate = false)
  14. {
  15. $this->MODULE = 'bx_organizations';
  16. parent::__construct($aOptions, $oTemplate);
  17. }
  18. public function checkGroupMember($iGroupProfileId, $iViewerId)
  19. {
  20. if($iGroupProfileId == $iViewerId)
  21. return true;
  22. return parent::checkGroupMember($iGroupProfileId, $iViewerId);
  23. }
  24. }
  25. /** @} */