refs #10078
[arvados.git] / apps / workbench / app / controllers / collections_controller.rb
index 431c07835336b5a78643da8ff2d820828b7c518b..20b227c3c7277d491c74b96c0f5de7bc415c0f4c 100644 (file)
@@ -253,10 +253,6 @@ class CollectionsController < ApplicationController
         @permissions = Link.limit(RELATION_LIMIT).order("modified_at DESC")
           .where(head_uuid: @object.uuid, link_class: 'permission',
                  name: 'can_read').results
-        @is_persistent = Link.limit(1)
-          .where(head_uuid: @object.uuid, tail_uuid: current_user.uuid,
-                 link_class: 'resources', name: 'wants')
-          .results.any?
         @search_sharing = search_scopes
 
         if params["tab_pane"] == "Used_by"