media asset: suppress 'modified' field by default

git-svn-id: svn://svn.cy55.de/Zope3/src/loops/trunk@3255 fd906abe-77d9-0310-91a1-e0d9ade77398
This commit is contained in:
helmutm 2009-02-28 09:52:47 +00:00
parent 2f317b3d1c
commit 2f126562fc

View file

@ -53,7 +53,7 @@ class FileSchemaFactory(SchemaFactory):
options = IOptions(self.context.type)
hide = options('hide_fields') or []
show = options('show_fields') or []
for f in ('contentType', 'externalAddress',):
for f in ('contentType', 'externalAddress', 'modified'):
if f in schema.fields and f not in show:
schema.fields.remove(f)
for f in hide: