From: Tara L Andrews Date: Tue, 28 Aug 2012 10:53:32 +0000 (+0200) Subject: git rid of SVG cache X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=14d81212f38cf1d6947a9a61b468669ff35da379;p=scpubgit%2Fstemmaweb.git git rid of SVG cache --- diff --git a/lib/stemmaweb/Controller/Root.pm b/lib/stemmaweb/Controller/Root.pm index 90f9e8a..84288ea 100644 --- a/lib/stemmaweb/Controller/Root.pm +++ b/lib/stemmaweb/Controller/Root.pm @@ -67,9 +67,7 @@ sub variantgraph :Local :Args(1) { my $m = $c->model('Directory'); my $tradition = $m->tradition( $textid ); my $collation = $tradition->collation; - my $needsave = !$collation->has_cached_svg; $c->stash->{'result'} = $collation->as_svg; - $m->save( $tradition ); # to save generate SVG in the cache $c->forward('View::SVG'); }