From ff80463d76ff8296af6c2a06096cf7bdd227ed7a Mon Sep 17 00:00:00 2001 From: Thomas Gelf Date: Sat, 29 Aug 2015 01:08:45 +0200 Subject: [PATCH] DataTypeSqlQuery: disable buggy cache --- library/Director/DataType/DataTypeSqlQuery.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/library/Director/DataType/DataTypeSqlQuery.php b/library/Director/DataType/DataTypeSqlQuery.php index fa1b05a2..519042c0 100644 --- a/library/Director/DataType/DataTypeSqlQuery.php +++ b/library/Director/DataType/DataTypeSqlQuery.php @@ -39,10 +39,11 @@ class DataTypeSqlQuery extends DataTypeHook protected function fetchData() { - if (self::$cachedResult === null || (time() - self::$cacheTime > 3)) { + // TODO: Hash _:) + //if (self::$cachedResult === null || (time() - self::$cacheTime > 3)) { self::$cachedResult = $this->db()->fetchPairs($this->settings['query']); self::$cacheTime = time(); - } + // } return self::$cachedResult; }