summaryrefslogtreecommitdiff
path: root/server/src
diff options
context:
space:
mode:
authordeva <deva>2011-06-16 08:27:20 +0000
committerdeva <deva>2011-06-16 08:27:20 +0000
commit083800caa84620d3c31d47327e7d575a1d7fb0aa (patch)
treef446e0a262667256a46607de84e03c9814f7b7ce /server/src
parent72b7577583c0bdcc3b2b78687092b448e73a2e98 (diff)
Remove redundant ttl check. ttl is handled by the database.
Diffstat (limited to 'server/src')
-rw-r--r--server/src/widgetvalue.cc3
1 files changed, 0 insertions, 3 deletions
diff --git a/server/src/widgetvalue.cc b/server/src/widgetvalue.cc
index 3b68e8e..71f27f4 100644
--- a/server/src/widgetvalue.cc
+++ b/server/src/widgetvalue.cc
@@ -81,9 +81,6 @@ static bool getDBValue(Value &value,
value = values[attr["name"]];
- // Value too old?
- if(value.timestamp < time(NULL) - Conf::db_max_ttl) return false;
-
value.source = "pracro";
return true;