diff --git a/core/modules/forum/lib/Drupal/forum/ForumManager.php b/core/modules/forum/lib/Drupal/forum/ForumManager.php index 67ab628..03edf3a 100644 --- a/core/modules/forum/lib/Drupal/forum/ForumManager.php +++ b/core/modules/forum/lib/Drupal/forum/ForumManager.php @@ -11,7 +11,7 @@ use Drupal\Core\Database\Connection; use Drupal\Core\Entity\EntityManager; use Drupal\field\FieldInfo; -use Drupal\node\Plugin\Core\Entity\NodeInterface; +use Drupal\node\NodeInterface; /** * Provides forum manager service. @@ -170,7 +170,7 @@ public function getTopics($tid) { if ($nids) { $nodes = $this->entityManager->getStorageController('node')->load($nids); - $query = $this->conection->select('node_field_data', 'n') + $query = $this->connection->select('node_field_data', 'n') ->extend('Drupal\Core\Database\Query\TableSortExtender'); $query->fields('n', array('nid')); diff --git a/core/modules/forum/lib/Drupal/forum/ForumManagerInterface.php b/core/modules/forum/lib/Drupal/forum/ForumManagerInterface.php index 8b5f7c4..57b8b33 100644 --- a/core/modules/forum/lib/Drupal/forum/ForumManagerInterface.php +++ b/core/modules/forum/lib/Drupal/forum/ForumManagerInterface.php @@ -7,7 +7,7 @@ namespace Drupal\forum; -use Drupal\node\Plugin\Core\Entity\NodeInterface; +use Drupal\node\NodeInterface; /** * Provides forum manager interface.