Merge branch '19954-permission-dedup-doc'
[arvados.git] / apps / workbench / app / models / collection.rb
index f5aef841ea47a6bfc66e84bccbaa86c617267a3f..ead2c951c3f8e5fdf41589e4366d96cdc891596e 100644 (file)
@@ -86,14 +86,6 @@ class Collection < ArvadosBase
     arvados_api_client.api "collections/#{self.uuid}/", "used_by"
   end
 
-  def uuid
-    if self[:uuid].nil?
-      return self[:portable_data_hash]
-    else
-      super
-    end
-  end
-
   def friendly_link_name lookup=nil
     name || portable_data_hash
   end