diff options
| author | Carl Hetherington <cth@carlh.net> | 2012-09-23 22:28:42 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2012-09-23 22:28:42 +0100 |
| commit | d4168894a231253d2625a7c1f7b4df68c9c8557c (patch) | |
| tree | 7a588576eb770caedfb4f3ef3da053ed88911ed6 /src | |
| parent | 226fc87130cd013d9e964650dfc9655fcac4521b (diff) | |
Remove probably unnecessary and certainly erroneous hack for content digest back compat.
Diffstat (limited to 'src')
| -rw-r--r-- | src/lib/film_state.cc | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/lib/film_state.cc b/src/lib/film_state.cc index e0ad20417..739eeac3c 100644 --- a/src/lib/film_state.cc +++ b/src/lib/film_state.cc @@ -165,11 +165,6 @@ FilmState::read_metadata (string k, string v) } else if (k == "content_digest") { content_digest = v; } - - /* Itsy bitsy hack: compute digest here if don't have one (for backwards compatibility) */ - if (content_digest.empty() && !content.empty()) { - content_digest = md5_digest (content_path ()); - } } |
