--- a/src/pyams_content/shared/common/__init__.py Mon Jan 18 17:42:32 2016 +0100
+++ b/src/pyams_content/shared/common/__init__.py Mon Jan 18 17:42:56 2016 +0100
@@ -83,7 +83,6 @@
creator = FieldProperty(IWfSharedContent['creator'])
modifiers = FieldProperty(IWfSharedContent['modifiers'])
last_modifier = FieldProperty(IWfSharedContent['last_modifier'])
- publisher = FieldProperty(IWfSharedContent['publisher'])
description = FieldProperty(IWfSharedContent['description'])
keywords = FieldProperty(IWfSharedContent['keywords'])
notepad = FieldProperty(IWfSharedContent['notepad'])
@@ -93,14 +92,6 @@
versions = IWorkflowVersions(self)
return versions.get_version(1).creator
- @property
- def publication(self):
- request = check_request()
- auth = get_utility(ISecurityManager)
- return request.localizer.translate(_('{date} by {principal}')).format(
- date=format_datetime(tztime(IWorkflowPublicationInfo(self).publication_date), request=request),
- principal=auth.get_principal(self.publisher).title)
-
@subscriber(IObjectModifiedEvent, context_selector=IWfSharedContent)
def handle_modified_shared_content(event):