summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2013-05-02 10:09:01 +0400
committerAndrew Dolgov <[email protected]>2013-05-02 10:09:01 +0400
commitf8a25082b39cc6ee2b0d82a42e46d4609b32ce6a (patch)
treeed9171d3f9dcc971930bb6656910cee4a82ff34b /include
parentea18cceaca2fb7562f07a78248fcc15469413629 (diff)
make tag cache processing faster in cdm
Diffstat (limited to 'include')
-rw-r--r--include/functions.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/functions.php b/include/functions.php
index c39b4938c..0b8f5b0d5 100644
--- a/include/functions.php
+++ b/include/functions.php
@@ -2902,7 +2902,6 @@
ttrss_tags WHERE post_int_id = (SELECT int_id FROM ttrss_user_entries WHERE
ref_id = '$a_id' AND owner_uid = '$owner_uid' LIMIT 1) ORDER BY tag_name";
- $obj_id = md5("TAGS:$owner_uid:$id");
$tags = array();
/* check cache first */
@@ -3249,7 +3248,7 @@
function print_checkpoint($n, $s) {
$ts = microtime(true);
- echo sprintf("<!-- CP[$n] %.4f seconds -->", $ts - $s);
+ echo sprintf("<!-- CP[$n] %.4f seconds -->\n", $ts - $s);
return $ts;
}