folder has been renamed to dmsf_folder

This commit is contained in:
karel.picman@lbcfree.net 2020-09-23 13:26:30 +02:00
parent c9fcfd12a0
commit 4119f7baac

View File

@ -52,7 +52,7 @@ module RedmineDmsf
if (existing[0].lock_scope == :scope_shared) && (scope == :scope_shared)
# RFC states if an item is exclusively locked and another lock is attempted we reject
# if the item is shared locked however, we can always add another lock to it
if self.folder.locked?
if self.dmsf_folder.locked?
raise DmsfLockError.new(l(:error_parent_locked))
else
existing.each do |l|