Skip to content

Commit

Permalink
sympa => gg
Browse files Browse the repository at this point in the history
  • Loading branch information
protitude committed May 30, 2024
1 parent f851a4b commit 65edc20
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sympa.module
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,8 @@ function sympa_build_email($type, $sympa_nid, $sympa_title, $sympa_body, $servic
$options = ['absolute' => TRUE];
$here = Url::fromRoute('entity.node.canonical', ['node' => $sympa_nid], $options);
$more_info = Url::fromRoute('entity.node.canonical', ['node' => 2514], $options);
$unsubscribe_n = Url::fromUri('internal:/sympa/unsubscribe/news');
$unsubscribe_sa = Url::fromUri('internal:/sympa/unsubscribe/service_alert');
$unsubscribe_n = Url::fromUri('internal:/gg/unsubscribe/news');
$unsubscribe_sa = Url::fromUri('internal:/gg/unsubscribe/service_alert');
$config = \Drupal::config('system.site');
$body_xss = isset($sympa_body[0]['value']) ? Xss::filterAdmin($sympa_body[0]['value']) : NULL;
$body_stripped = $body_xss ? preg_replace("/<img[^>]+\>/i", " ", $body_xss) : '';
Expand Down

0 comments on commit 65edc20

Please sign in to comment.