projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fbc703e
)
Revert commenting out cache code.
author
Jan Schneider
<jan@horde.org>
Sun, 23 Jan 2011 21:35:50 +0000
(22:35 +0100)
committer
Jan Schneider
<jan@horde.org>
Sun, 23 Jan 2011 21:35:50 +0000
(22:35 +0100)
framework/Share/lib/Horde/Share/Sql.php
patch
|
blob
|
history
diff --git
a/framework/Share/lib/Horde/Share/Sql.php
b/framework/Share/lib/Horde/Share/Sql.php
index
4751a83
..
5b5a561
100644
(file)
--- 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';