Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / web / core / modules / forum / src / ForumManager.php
index 05cd86076070b3955cf54122acd247a2b0d8caaf..1ecd3b68fa30760f886455a5c746e226bca8995d 100644 (file)
@@ -184,7 +184,7 @@ class ForumManager implements ForumManagerInterface {
         'cid',
         'last_comment_uid',
         'last_comment_timestamp',
-        'comment_count'
+        'comment_count',
       ]);
 
       $query->join('forum_index', 'f', 'f.nid = n.nid');
@@ -435,7 +435,7 @@ class ForumManager implements ForumManagerInterface {
       'container' => 1,
       'parents' => [],
       'isIndex' => TRUE,
-      'vid' => $vid
+      'vid' => $vid,
     ]);
 
     // Load the tree below.