Fixed a subtle incompatibility with older storages. Madeleine must die

This commit is contained in:
Alexey Verkhovsky 2005-07-30 06:39:34 +00:00
parent 659f4a4cc5
commit 207737aa22
3 changed files with 2 additions and 6 deletions

View file

@ -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