clean up unused code

clean up unused code

Unused PM topic list column ‘Users’ is removed

diff --git a/app/assets/javascripts/discourse/routes/user-topic-list.js.es6 b/app/assets/javascripts/discourse/routes/user-topic-list.js.es6
index 3d62ae9..c7bd8ed 100644
--- a/app/assets/javascripts/discourse/routes/user-topic-list.js.es6
+++ b/app/assets/javascripts/discourse/routes/user-topic-list.js.es6
@@ -11,8 +11,7 @@ export default Discourse.Route.extend(ViewingActionType, {
     this.controllerFor("user-activity").set("userActionType", userActionType);
     this.controllerFor("user-topics-list").setProperties({
       model,
-      hideCategory: false,
-      showParticipants: false
+      hideCategory: false
     });
   }
 });
diff --git a/app/assets/javascripts/discourse/templates/components/basic-topic-list.hbs b/app/assets/javascripts/discourse/templates/components/basic-topic-list.hbs
index ec15b78..d1d1051 100644
--- a/app/assets/javascripts/discourse/templates/components/basic-topic-list.hbs
+++ b/app/assets/javascripts/discourse/templates/components/basic-topic-list.hbs
@@ -10,8 +10,7 @@
   {{/if}}
 
   {{#if topics}}
-    {{topic-list showParticipants=showParticipants
-                 showPosters=showPosters
+    {{topic-list showPosters=showPosters
                  hideCategory=hideCategory
                  topics=topics
                  expandExcerpts=expandExcerpts
diff --git a/app/assets/javascripts/discourse/templates/components/topic-list.hbs b/app/assets/javascripts/discourse/templates/components/topic-list.hbs
index bcdbf01..46e05f4 100644
--- a/app/assets/javascripts/discourse/templates/components/topic-list.hbs
+++ b/app/assets/javascripts/discourse/templates/components/topic-list.hbs
@@ -7,7 +7,6 @@
       showPosters=showPosters
       showLikes=showLikes
       showOpLikes=showOpLikes
-      showParticipants=showParticipants
       order=order
       ascending=ascending
       sortable=sortable
@@ -35,7 +34,6 @@
                       showTopicPostBadges=showTopicPostBadges
                       hideCategory=hideCategory
                       showPosters=showPosters
-                      showParticipants=showParticipants
                       showLikes=showLikes
                       showOpLikes=showOpLikes
                       expandGloballyPinned=expandGloballyPinned
diff --git a/app/assets/javascripts/discourse/templates/list/topic-list-item.raw.hbs b/app/assets/javascripts/discourse/templates/list/topic-list-item.raw.hbs
index ab0e1e3..6b6b7b2 100644
--- a/app/assets/javascripts/discourse/templates/list/topic-list-item.raw.hbs
+++ b/app/assets/javascripts/discourse/templates/list/topic-list-item.raw.hbs
@@ -44,10 +44,6 @@
 
 {{raw "list/posts-count-column" topic=topic}}
 
-{{#if showParticipants}}
-  {{raw "list/posters-column" posters=topic.participants}}
-{{/if}}
-
 {{#if showLikes}}
   <td class="num likes">
     {{#if hasLikes}}
diff --git a/app/assets/javascripts/discourse/templates/mobile/components/basic-topic-list.hbs b/app/assets/javascripts/discourse/templates/mobile/components/basic-topic-list.hbs
index 01a640c..2c5eb2f 100644
--- a/app/assets/javascripts/discourse/templates/mobile/components/basic-topic-list.hbs
+++ b/app/assets/javascripts/discourse/templates/mobile/components/basic-topic-list.hbs
@@ -46,13 +46,6 @@
                   {{category-link t.category}}
                 </div>
               {{/unless}}
-              {{#if showParticipants}}
-                <div class='participants'>
-                  {{#each participants as |p|}}
-                    <a href="{{unbound p.user.path}}" class="{{unbound p.extras}}">{{avatar p usernamePath="user.username" imageSize="small"}}</a>
-                  {{/each}}
-                </div>
-              {{/if}}
               <div class="clearfix"></div>
             </div>
           </td>
diff --git a/app/assets/javascripts/discourse/templates/topic-list-header.raw.hbs b/app/assets/javascripts/discourse/templates/topic-list-header.raw.hbs
index 54a7de6..e3468a1 100644
--- a/app/assets/javascripts/discourse/templates/topic-list-header.raw.hbs
+++ b/app/assets/javascripts/discourse/templates/topic-list-header.raw.hbs
@@ -10,9 +10,6 @@
   {{raw "topic-list-header-column" order='posters'}}
 {{/if}}
 {{raw "topic-list-header-column" sortable=sortable number='true' order='posts' name='replies'}}
-{{#if showParticipants}}
-  {{raw "topic-list-header-column" order='participants' name='users'}}
-{{/if}}
 {{#if showLikes}}
   {{raw "topic-list-header-column" sortable=sortable number='true' order='likes' name='likes'}}
 {{/if}}
diff --git a/app/assets/javascripts/discourse/templates/user-topics-list.hbs b/app/assets/javascripts/discourse/templates/user-topics-list.hbs
index d0b5008..e59ec59 100644
--- a/app/assets/javascripts/discourse/templates/user-topics-list.hbs
+++ b/app/assets/javascripts/discourse/templates/user-topics-list.hbs
@@ -1,7 +1,6 @@
 {{#load-more class="paginated-topics-list" selector=".paginated-topics-list .topic-list tr" action=(action "loadMore")}}
   {{basic-topic-list topicList=model
                      hideCategory=hideCategory
-                     showParticipants=showParticipants
                      showPosters=showPosters
                      bulkSelectEnabled=bulkSelectEnabled
                      selected=selected

GitHub sha: 65caf04d

This commit has been mentioned on Discourse Meta. There might be relevant details there: