Use "last-item" in the contact table instead of an expensive sql query
This commit is contained in:
parent
78cead6c11
commit
e5c7ce0902
8 changed files with 148 additions and 56 deletions
|
@ -875,6 +875,8 @@ function item_post(&$a) {
|
|||
|
||||
$datarray["id"] = $post_id;
|
||||
|
||||
item_set_last_item($datarray);
|
||||
|
||||
// update filetags in pconfig
|
||||
file_tag_update_pconfig($uid,$categories_old,$categories_new,'category');
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue