Fixed a subtle incompatibility with older storages. Madeleine must die
This commit is contained in:
parent
659f4a4cc5
commit
207737aa22
3 changed files with 2 additions and 6 deletions
|
@ -58,7 +58,7 @@ module Chunk
|
|||
|
||||
# We should not use object_id because object_id is not guarantied
|
||||
# to be unique when we restart the wiki (new object ids can equal old ones
|
||||
# that were restored form madeleine storage)
|
||||
# that were restored from madeleine storage)
|
||||
def id
|
||||
@id ||= "#{@content.page_id}n#{@content.chunk_id}"
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue