Exemplo n.º 1
0
 private static function executeDomainInitGet(&$error)
 {
     global $USER;
     CAgent::removeAgent('CIntranetUtils::notifyMailDomain("noreg", "' . SITE_ID . '", ' . $USER->getId() . ');', 'intranet');
     CAgent::removeAgent('CIntranetUtils::notifyMailDomain("noreg", "' . SITE_ID . '", ' . $USER->getId() . ', 1);', 'intranet');
     CAgent::addAgent('CIntranetUtils::notifyMailDomain("noreg", "' . SITE_ID . '", ' . $USER->getId() . ');', 'intranet', 'N', 3600 * 24);
     return array();
 }