Some more function calls to ensure that the tags are deleted when an item is deleted
This commit is contained in:
parent
3dc615dd9d
commit
b9afb38f4d
|
@ -228,6 +228,7 @@ function photos_post(&$a) {
|
|||
dbesc($rr['parent-uri']),
|
||||
intval($page_owner_uid)
|
||||
);
|
||||
create_tags_from_itemuri($rr['parent-uri'], $page_owner_uid);
|
||||
|
||||
$drop_id = intval($rr['id']);
|
||||
|
||||
|
@ -275,6 +276,7 @@ function photos_post(&$a) {
|
|||
dbesc($i[0]['uri']),
|
||||
intval($page_owner_uid)
|
||||
);
|
||||
create_tags_from_itemuri($i[0]['uri'], $page_owner_uid);
|
||||
|
||||
$url = $a->get_baseurl();
|
||||
$drop_id = intval($i[0]['id']);
|
||||
|
|
Loading…
Reference in a new issue