Update function names and calls

update function names and calls from other files
This commit is contained in:
Adam Magness 2018-02-05 07:47:06 -05:00
commit 7ffcb25321
7 changed files with 30 additions and 26 deletions

View file

@ -297,7 +297,7 @@ function photos_post(App $a)
intval($page_owner_uid)
);
Term::insertFromTagFieldByItemUri($rr['parent-uri'], $page_owner_uid);
delete_thread_uri($rr['parent-uri'], $page_owner_uid);
Item::deleteThreadFromUri($rr['parent-uri'], $page_owner_uid);
$drop_id = intval($rr['id']);
@ -371,7 +371,7 @@ function photos_post(App $a)
intval($page_owner_uid)
);
Term::insertFromTagFieldByItemUri($i[0]['uri'], $page_owner_uid);
delete_thread_uri($i[0]['uri'], $page_owner_uid);
Item::deleteThreadFromUri($i[0]['uri'], $page_owner_uid);
$url = System::baseUrl();
$drop_id = intval($i[0]['id']);
@ -656,7 +656,7 @@ function photos_post(App $a)
intval($page_owner_uid)
);
Term::insertFromTagFieldByItemId($item_id);
update_thread($item_id);
Item::updateThread($item_id);
$best = 0;
foreach ($p as $scales) {
@ -1432,7 +1432,7 @@ function photos_content(App $a)
intval($link_item['parent']),
intval(local_user())
);
update_thread($link_item['parent']);
Item::updateThread($link_item['parent']);
}
if ($link_item['coord']) {