Ignore:
Timestamp:
6 Apr 2017, 14:07:54 (7 years ago)
Author:
uli
Message:

Activate new plugin. Untested.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/src/waeup/kofa/app.py

    r14638 r14671  
    7979
    8080    def updatePlugins(self):
    81         """Lookup plugins and call their `update()` method to
    82         upgrade Kofa's database since software version 1.4 (2016-01-14).
     81        """Lookup an arbitrarily selected set of plugins and call their
     82        `update()` method to upgrade Kofa's database since software version 1.4
     83        (2016-01-14).
     84
     85        XXX: This method does not run all plugins registered.
     86
     87        XXX: Tests for this method were disabled.
    8388        """
    84         getUtility(IKofaPluggable, name='faculties').update(
    85             self, 'faculties', self.logger)
    86         getUtility(IKofaPluggable, name='departments').update(
    87             self, 'departments', self.logger)
    88         getUtility(IKofaPluggable, name='certificates').update(
    89             self, 'certificates', self.logger)
    90         getUtility(IKofaPluggable, name='certcourses').update(
    91             self, 'certcourses', self.logger)
     89        for name in ['faculties', 'departments', 'certificates', 'certcourses',
     90                     'site-pluggable-auth']:
     91            getUtility(IKofaPluggable, name=name).update(
     92                self, name, self.logger)
    9293        return
    9394attrs_to_fields(University)
Note: See TracChangeset for help on using the changeset viewer.