From a67b337a69ceb4273abd96350668c901c27574cd Mon Sep 17 00:00:00 2001 From: Jan Schneider Date: Sun, 23 Jan 2011 22:35:50 +0100 Subject: [PATCH] Revert commenting out cache code. --- framework/Share/lib/Horde/Share/Sql.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/framework/Share/lib/Horde/Share/Sql.php b/framework/Share/lib/Horde/Share/Sql.php index 4751a832f..5b5a56151 100644 --- a/framework/Share/lib/Horde/Share/Sql.php +++ b/framework/Share/lib/Horde/Share/Sql.php @@ -363,9 +363,9 @@ class Horde_Share_Sql extends Horde_Share_Base 'all_levels' => true), $params); $key = md5(serialize(array($userid, $params))); - //if (!empty($this->_listcache[$key])) { - // return $this->_listcache[$key]; - //} + if (!empty($this->_listcache[$key])) { + return $this->_listcache[$key]; + } $shares = array(); if (is_null($params['sort_by'])) { $sortfield = 's.share_id'; -- 2.11.0