Commit 1a34ee2a by pupi1985

Update cached tag count when deleting posts

parent 176f6052
...@@ -90,6 +90,7 @@ class qa_search_basic ...@@ -90,6 +90,7 @@ class qa_search_basic
$wholetagids = qa_db_posttags_get_post_wordids($postid); $wholetagids = qa_db_posttags_get_post_wordids($postid);
qa_db_posttags_delete_post($postid); qa_db_posttags_delete_post($postid);
qa_db_word_tagcount_update($wholetagids); qa_db_word_tagcount_update($wholetagids);
qa_db_tagcount_update();
} }
public function move_post($postid, $categoryid) public function move_post($postid, $categoryid)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment