Changeset 7819 for main/waeup.kofa/trunk/src/waeup/kofa/objecthistory.py
- Timestamp:
- 8 Mar 2012, 22:28:46 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/objecthistory.py
r7811 r7819 22 22 from zope.i18n import translate 23 23 from zope.annotation.interfaces import IAnnotations 24 from waeup.kofa.interfaces import IObjectHistory, IK OFAObject, IKOFAUtils24 from waeup.kofa.interfaces import IObjectHistory, IKofaObject, IKofaUtils 25 25 from waeup.kofa.utils.helpers import get_current_principal 26 26 … … 30 30 """A history for objects. 31 31 32 For any object implementing `IK OFAObject` which is annotatable,32 For any object implementing `IKofaObject` which is annotatable, 33 33 we provide histories. A history for such an object can be obtained 34 34 by adapting it to `IObjectHistory`. 35 35 """ 36 grok.context(IK OFAObject)36 grok.context(IKofaObject) 37 37 grok.implements(IObjectHistory) 38 38 … … 68 68 else: 69 69 user = user.title 70 portal_language = getUtility(IK OFAUtils).PORTAL_LANGUAGE70 portal_language = getUtility(IKofaUtils).PORTAL_LANGUAGE 71 71 by = 'by' 72 72 if portal_language != 'en':
Note: See TracChangeset for help on using the changeset viewer.