Browse Source

Removed not needed assets.

Martin Edenhofer 11 years ago
parent
commit
e63cccaf25
1 changed files with 0 additions and 11 deletions
  1. 0 11
      app/models/history/assets.rb

+ 0 - 11
app/models/history/assets.rb

@@ -29,17 +29,6 @@ returns
       data[ User.to_app_model ][ self['created_by_id'] ] = User.user_data_full( self['created_by_id'] )
     end
 
-    # fetch meta relations
-    if !data[ History::Object.to_app_model ]
-      data[ History::Object.to_app_model ] = History::Object.all()
-    end
-    if !data[ History::Type.to_app_model ]
-      data[ History::Type.to_app_model ] = History::Type.all()
-    end
-    if !data[ History::Attribute.to_app_model ]
-      data[ History::Attribute.to_app_model ] = History::Attribute.all()
-    end
-
     data
   end