summaryrefslogtreecommitdiffstats
path: root/org/madore/damlengine/TodoWrefAttr.java
diff options
context:
space:
mode:
authorDavid A. Madore <david+git@madore.org>2014-10-09 20:40:26 +0200
committerDavid A. Madore <david+git@madore.org>2014-10-09 20:40:26 +0200
commitcde90f22cc34b898c684c9de78c5e93022dbd42a (patch)
tree39cbca2edfa3acdfb640e64ca9ff3803fdcd08cc /org/madore/damlengine/TodoWrefAttr.java
parent827925b57dc5ba84e480cf9c66ff2cb13a096780 (diff)
downloaddamlengine-cde90f22cc34b898c684c9de78c5e93022dbd42a.tar.gz
damlengine-cde90f22cc34b898c684c9de78c5e93022dbd42a.tar.bz2
damlengine-cde90f22cc34b898c684c9de78c5e93022dbd42a.zip
Add a "dynamic context" global state, and make WeblogSummary stale when too old.
Diffstat (limited to 'org/madore/damlengine/TodoWrefAttr.java')
-rw-r--r--org/madore/damlengine/TodoWrefAttr.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/org/madore/damlengine/TodoWrefAttr.java b/org/madore/damlengine/TodoWrefAttr.java
index 7f69a96..9341919 100644
--- a/org/madore/damlengine/TodoWrefAttr.java
+++ b/org/madore/damlengine/TodoWrefAttr.java
@@ -42,7 +42,7 @@ public class TodoWrefAttr extends TodoAttr {
}
String targetFile;
String targetStdDir = (ctx.gc.uriToTop==null)?"":(ctx.gc.uriToTop+"weblog/");
- WeblogSummary wsum = WeblogSummary.getSummary();
+ WeblogSummary wsum = WeblogSummary.getSummary(ctx.dc);
WeblogSummary.EntrySummary esum;
// Get entry for target link from weblog summary
if ( wsum != null && wsum.entries != null )