Versioning issue when changing file through webdav
This commit is contained in:
parent
cb2ffafdda
commit
4382cd71b5
@ -248,7 +248,7 @@ class DmsfFileRevision < ActiveRecord::Base
|
||||
end
|
||||
|
||||
def copy_file_content(open_file)
|
||||
File.open(self.disk_file, 'wb') do |f|
|
||||
File.open(self.disk_file(false), 'wb') do |f|
|
||||
while (buffer = open_file.read(8192))
|
||||
f.write(buffer)
|
||||
end
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user