FIX: do not request refresh on 'log out all' request

FIX: do not request refresh on ‘log out all’ request

diff --git a/app/controllers/users_controller.rb b/app/controllers/users_controller.rb
index bd0bf7a..9604762 100644
--- a/app/controllers/users_controller.rb
+++ b/app/controllers/users_controller.rb
@@ -1224,12 +1224,12 @@ class UsersController < ApplicationController
       # The user should not be able to revoke the auth token of current session.
       raise Discourse::InvalidParameters.new(:token_id) if guardian.auth_token == token.auth_token
       UserAuthToken.where(id: params[:token_id], user_id: user.id).each(&:destroy!)
+
+      MessageBus.publish "/file-change", ["refresh"], user_ids: [user.id]
     else
       UserAuthToken.where(user_id: user.id).each(&:destroy!)
     end
 
-    MessageBus.publish "/file-change", ["refresh"], user_ids: [user.id]
-
     render json: success_json
   end

GitHub sha: 2f6ce297