X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=web%2Fcore%2Fmodules%2Faggregator%2Fsrc%2FController%2FAggregatorController.php;fp=web%2Fcore%2Fmodules%2Faggregator%2Fsrc%2FController%2FAggregatorController.php;h=7fd0743881f1d897537153897eb114ba371f1c88;hp=b459b196ccbd441011649218a73f73ec7dbd91e7;hb=af6d1fb995500ae68849458ee10d66abbdcfb252;hpb=680c79a86e3ed402f263faeac92e89fb6d9edcc0 diff --git a/web/core/modules/aggregator/src/Controller/AggregatorController.php b/web/core/modules/aggregator/src/Controller/AggregatorController.php index b459b196c..7fd074388 100644 --- a/web/core/modules/aggregator/src/Controller/AggregatorController.php +++ b/web/core/modules/aggregator/src/Controller/AggregatorController.php @@ -93,7 +93,7 @@ class AggregatorController extends ControllerBase { $message = $aggregator_feed->refreshItems() ? $this->t('There is new syndicated content from %site.', ['%site' => $aggregator_feed->label()]) : $this->t('There is no new syndicated content from %site.', ['%site' => $aggregator_feed->label()]); - drupal_set_message($message); + $this->messenger()->addStatus($message); return $this->redirect('aggregator.admin_overview'); }