diff options
author | deva <deva> | 2011-06-16 08:27:20 +0000 |
---|---|---|
committer | deva <deva> | 2011-06-16 08:27:20 +0000 |
commit | 083800caa84620d3c31d47327e7d575a1d7fb0aa (patch) | |
tree | f446e0a262667256a46607de84e03c9814f7b7ce /server | |
parent | 72b7577583c0bdcc3b2b78687092b448e73a2e98 (diff) |
Remove redundant ttl check. ttl is handled by the database.
Diffstat (limited to 'server')
-rw-r--r-- | server/src/widgetvalue.cc | 3 |
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; |