Browse Source

No collection push of organization needed anymore.

Martin Edenhofer 8 years ago
parent
commit
ea82574877
1 changed files with 0 additions and 19 deletions
  1. 0 19
      lib/sessions/backend/collections/organization.rb

+ 0 - 19
lib/sessions/backend/collections/organization.rb

@@ -1,19 +0,0 @@
-class Sessions::Backend::Collections::Organization < Sessions::Backend::Collections::Base
-  model_set 'Organization'
-
-  def load
-
-    # get whole collection
-    all = []
-
-    if @user.organization_id
-      organization = Organization.lookup(id: @user.organization_id)
-      if organization
-        all = [organization]
-      end
-    end
-
-    all
-  end
-
-end