]> git.mxchange.org Git - friendica.git/blobdiff - include/items.php
Removed cache code, since it was superfluous.
[friendica.git] / include / items.php
index 36611dbffa8125c1810330f166cd1a2fc5e628e7..8bb981b6de5fb911d777355b6ce5bbab044b5534 100644 (file)
@@ -1499,7 +1499,7 @@ function item_store($arr,$force_parent = false, $notify = false, $dontcache = fa
                }
        }
 
-       create_tags_from_item($current_post, $dontcache);
+       create_tags_from_item($current_post);
        create_files_from_item($current_post);
 
        // Only check for notifications on start posts
@@ -4668,8 +4668,8 @@ function drop_item($id,$interactive = true) {
                                dbesc($item['parent-uri']),
                                intval($item['uid'])
                        );
-                       create_tags_from_item($item['parent-uri'], $item['uid']);
-                       create_files_from_item($item['parent-uri'], $item['uid']);
+                       create_tags_from_itemuri($item['parent-uri'], $item['uid']);
+                       create_files_from_itemuri($item['parent-uri'], $item['uid']);
                        delete_thread_uri($item['parent-uri'], $item['uid']);
                        // ignore the result
                }