Update function names and calls
update function names and calls from other files
This commit is contained in:
parent
f4fa8f085b
commit
7ffcb25321
7 changed files with 30 additions and 26 deletions
|
@ -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']) {
|
||||
|
|
|
@ -1,8 +1,11 @@
|
|||
<?php
|
||||
|
||||
/**
|
||||
* @file mod/starred.php
|
||||
*/
|
||||
use Friendica\App;
|
||||
use Friendica\Core\System;
|
||||
use Friendica\Database\DBM;
|
||||
use Friendica\Model\Item;
|
||||
|
||||
function starred_init(App $a) {
|
||||
|
||||
|
@ -38,7 +41,7 @@ function starred_init(App $a) {
|
|||
intval($message_id)
|
||||
);
|
||||
|
||||
update_thread($message_id);
|
||||
Item::updateThread($message_id);
|
||||
|
||||
// See if we've been passed a return path to redirect to
|
||||
$return_path = ((x($_REQUEST,'return')) ? $_REQUEST['return'] : '');
|
||||
|
|
|
@ -12,6 +12,7 @@ use Friendica\Core\Worker;
|
|||
use Friendica\Database\DBM;
|
||||
use Friendica\Model\Contact;
|
||||
use Friendica\Model\Group;
|
||||
use Friendica\Model\Item;
|
||||
use Friendica\Model\Profile;
|
||||
use Friendica\Model\Term;
|
||||
use Friendica\Protocol\DFRN;
|
||||
|
@ -177,7 +178,7 @@ function videos_post(App $a) {
|
|||
intval(local_user())
|
||||
);
|
||||
Term::insertFromTagFieldByItemUri($i[0]['uri'], local_user());
|
||||
delete_thread_uri($i[0]['uri'], local_user());
|
||||
Item::deleteThreadFromUri($i[0]['uri'], local_user());
|
||||
|
||||
$url = System::baseUrl();
|
||||
$drop_id = intval($i[0]['id']);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue