mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-16 20:05:14 +02:00
Replace references to include/tags functions
This commit is contained in:
parent
d00c6111fd
commit
9f3acceac7
5 changed files with 15 additions and 13 deletions
|
@ -17,6 +17,7 @@ use Friendica\Model\Group;
|
|||
use Friendica\Model\Item;
|
||||
use Friendica\Model\Photo;
|
||||
use Friendica\Model\Profile;
|
||||
use Friendica\Model\Term;
|
||||
use Friendica\Network\Probe;
|
||||
use Friendica\Object\Image;
|
||||
use Friendica\Protocol\DFRN;
|
||||
|
@ -295,7 +296,7 @@ function photos_post(App $a)
|
|||
dbesc($rr['parent-uri']),
|
||||
intval($page_owner_uid)
|
||||
);
|
||||
create_tags_from_itemuri($rr['parent-uri'], $page_owner_uid);
|
||||
Term::insertFromItemUri($rr['parent-uri'], $page_owner_uid);
|
||||
delete_thread_uri($rr['parent-uri'], $page_owner_uid);
|
||||
|
||||
$drop_id = intval($rr['id']);
|
||||
|
@ -369,7 +370,7 @@ function photos_post(App $a)
|
|||
dbesc($i[0]['uri']),
|
||||
intval($page_owner_uid)
|
||||
);
|
||||
create_tags_from_itemuri($i[0]['uri'], $page_owner_uid);
|
||||
Term::insertFromItemUri($i[0]['uri'], $page_owner_uid);
|
||||
delete_thread_uri($i[0]['uri'], $page_owner_uid);
|
||||
|
||||
$url = System::baseUrl();
|
||||
|
@ -654,7 +655,7 @@ function photos_post(App $a)
|
|||
intval($item_id),
|
||||
intval($page_owner_uid)
|
||||
);
|
||||
create_tags_from_item($item_id);
|
||||
Term::insertFromItemId($item_id);
|
||||
update_thread($item_id);
|
||||
|
||||
$best = 0;
|
||||
|
|
|
@ -199,7 +199,7 @@ function profile_content(App $a, $update = 0)
|
|||
|
||||
$a->page['aside'] .= posted_date_widget(System::baseUrl(true) . '/profile/' . $a->profile['nickname'], $a->profile['profile_uid'], true);
|
||||
$a->page['aside'] .= Widget::categories(System::baseUrl(true) . '/profile/' . $a->profile['nickname'], (x($category) ? xmlify($category) : ''));
|
||||
$a->page['aside'] .= tagcloud_wall_widget();
|
||||
$a->page['aside'] .= Widget::tagCloud();
|
||||
|
||||
if (can_write_wall($a->profile['profile_uid'])) {
|
||||
$x = [
|
||||
|
|
|
@ -13,6 +13,7 @@ use Friendica\Database\DBM;
|
|||
use Friendica\Model\Contact;
|
||||
use Friendica\Model\Group;
|
||||
use Friendica\Model\Profile;
|
||||
use Friendica\Model\Term;
|
||||
use Friendica\Protocol\DFRN;
|
||||
use Friendica\Util\DateTimeFormat;
|
||||
|
||||
|
@ -175,7 +176,7 @@ function videos_post(App $a) {
|
|||
dbesc($i[0]['uri']),
|
||||
intval(local_user())
|
||||
);
|
||||
create_tags_from_itemuri($i[0]['uri'], local_user());
|
||||
Term::insertFromItemUri($i[0]['uri'], local_user());
|
||||
delete_thread_uri($i[0]['uri'], local_user());
|
||||
|
||||
$url = System::baseUrl();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue