loadServerStatus(); return; } return; } public static function tryToPostMessage(array $data) { $unique_id = Filesystem::readRandomCharacters(32); $data = $data + array( 'uniqueID' => $unique_id, ); $servers = PhabricatorNotificationServerRef::getEnabledAdminServers(); shuffle($servers); foreach ($servers as $server) { try { $server->postMessage($data); return; } catch (Exception $ex) { // Just ignore any issues here. } } } }