]> git.wh0rd.org - tt-rss.git/commitdiff
load_filters: use memcache (fix obj_id)
authorAndrew Dolgov <fox@bah.org.ru>
Wed, 20 Jan 2010 09:33:09 +0000 (12:33 +0300)
committerAndrew Dolgov <fox@bah.org.ru>
Wed, 20 Jan 2010 09:33:09 +0000 (12:33 +0300)
functions.php

index 24abdf016abfae640cfc460126c10152c40f46c6..31d6486506581a29cf218d4273a80f3c8f5b16cb 100644 (file)
 
                global $memcache;
 
+               $obj_id = md5("FILTER:$feed:$owner_uid:$action_id");
+
                if ($memcache && $obj = $memcache->get($obj_id)) {
 
                        print_r($obj);