From 083800caa84620d3c31d47327e7d575a1d7fb0aa Mon Sep 17 00:00:00 2001 From: deva Date: Thu, 16 Jun 2011 08:27:20 +0000 Subject: Remove redundant ttl check. ttl is handled by the database. --- server/src/widgetvalue.cc | 3 --- 1 file changed, 3 deletions(-) (limited to 'server') 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; -- cgit v1.2.3