Ignore:
Timestamp:
8 Nov 2011, 18:21:24 (13 years ago)
Author:
uli
Message:

As university instances are not longer responsible for storing images,
we can remove a lot of things.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.sirp/branches/ulif-extimgstore/src/waeup/sirp/app.py

    r7002 r7033  
    11import grok
    2 from hurry.file.interfaces import IFileRetrieval
    32from zope.authentication.interfaces import IAuthentication
    43from zope.component import getUtilitiesFor
     
    98from waeup.sirp.students.container import StudentsContainer
    109from waeup.sirp.hostels.container import HostelsContainer
    11 from waeup.sirp.imagestorage import (
    12     ImageStorageFileRetrieval, ImageStorage, ExtFileStore,)
    1310from waeup.sirp.interfaces import (
    1411    IUniversity, IWAeUPSIRPPluggable, IObjectUpgradeEvent, )
     
    2926        setup = setup_authentication,)
    3027
    31     #grok.local_utility(
    32     #    ImageStorageFileRetrieval, provides = IFileRetrieval)
    33 
    34     #grok.local_utility(
    35     #    ExtFileStore, provides = IFileRetrieval)
    3628    def __init__(self, *args, **kw):
    3729        super(University, self).__init__(*args, **kw)
     
    4739        self['users'] = UserContainer()
    4840        self['datacenter'] = DataCenter()
    49         self['images'] = ImageStorage()
    5041        self['students'] = StudentsContainer()
    5142        self['configuration'] = ConfigurationContainer()
Note: See TracChangeset for help on using the changeset viewer.