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=a53af65791cc7dd499497d7f60bc09b4e62853e5;p=scpubgit%2Fstemmatology.git git rid of SVG cache --- diff --git a/stemmaweb/lib/stemmaweb/Controller/Root.pm b/stemmaweb/lib/stemmaweb/Controller/Root.pm index 90f9e8a..84288ea 100644 --- a/stemmaweb/lib/stemmaweb/Controller/Root.pm +++ b/stemmaweb/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'); }