From: Andrew Dolgov Date: Wed, 20 Jan 2010 09:33:09 +0000 (+0300) Subject: load_filters: use memcache (fix obj_id) X-Git-Tag: 1.4.0~9 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=1f0113280236928da3c1d57da7781dc8ec977772;p=tt-rss.git load_filters: use memcache (fix obj_id) --- diff --git a/functions.php b/functions.php index 24abdf01..31d64865 100644 --- a/functions.php +++ b/functions.php @@ -5856,6 +5856,8 @@ global $memcache; + $obj_id = md5("FILTER:$feed:$owner_uid:$action_id"); + if ($memcache && $obj = $memcache->get($obj_id)) { print_r($obj);