Commit 6bf5fa58 authored by Julien Muchembled's avatar Julien Muchembled

Update info when Image is updated by HTTP/FTP.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@24318 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 4a7ebf6b
......@@ -525,7 +525,13 @@ class Image(File, OFSImage):
"""
File._setFile(self, *args, **kw)
self._update_image_info()
def PUT(self, *args, **kw):
"""set the file content by HTTP/FTP and reset image information.
"""
File.PUT(self, *args, **kw)
self._update_image_info()
#
# FTP/WebDAV support
#
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment