diff --git a/core/modules/aggregator/lib/Drupal/aggregator/Routing/AggregatorController.php b/core/modules/aggregator/lib/Drupal/aggregator/Routing/AggregatorController.php index ccc3138..838b031 100644 --- a/core/modules/aggregator/lib/Drupal/aggregator/Routing/AggregatorController.php +++ b/core/modules/aggregator/lib/Drupal/aggregator/Routing/AggregatorController.php @@ -248,8 +248,7 @@ public function sources() { // @todo remove this once aggregator_load_feed_items() is refactored after // http://drupal.org/node/15266 is in. - \Drupal::moduleHandler()->loadInclude('aggregator', 'inc', 'aggregator.pages'); - + $this->moduleHandler->loadInclude('aggregator', 'inc', 'aggregator.pages'); foreach ($feeds as $feed) { // Most recent items: