Ignore:
Timestamp:
25 Jan 2011, 01:09:11 (14 years ago)
Author:
uli
Message:

The applications root has moved to waeup.sirp.applications and so
does the applications plugin.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.sirp/trunk/src/waeup/sirp/jambtables/applicants.py

    r5668 r5669  
    139139class ApplicantContainer(grok.Container):
    140140    grok.implements(IApplicantContainer)
    141 
    142 class ApplicantsPlugin(grok.GlobalUtility):
    143     """A WAeUPSIRPPlugin that creates an applications folder in portal.
    144     """
    145     grok.name('applications')
    146     grok.implements(IWAeUPSIRPPluggable)
    147 
    148     def setup(self, site, name, logger):
    149         site['applications'] = ApplicantContainer()
    150         logger.info('Installed application container.')
    151         return
    152 
    153     def update(self, site, name, logger):
    154         if not 'applications' in site.keys():
    155             logger.info('Updating site at %s. Installing applications.' % (
    156                     site,))
    157             self.setup(site, name, logger)
    158         else:
    159             logger.info(
    160                 'ApplicantsPlugin: Updating site at %s: Nothing to do.' % (
    161                     site, ))
    162         return
Note: See TracChangeset for help on using the changeset viewer.