pculture/miro — pull request #343 by bendk (2012-04-27 23:08:07+00:00)
Title: bz19032: metadata fixes for items marked as deleted

If an item is marked as deleted then we delete the metadata entries for it,
however there were 2 bugs with that.

1) The next time we called setup_restore(), we would re-create the metadata
entries.

2) For items deleted with previous versions of miro, our upgrade code would
make metadata entries for it.

Fixed those 2 bugs and also added code to detect this problem and log a
warning instead of crashing.