Skip to content

Commit 4d7c059

Browse files
committed
remove featured tags endpoint
1 parent b946ef3 commit 4d7c059

File tree

2 files changed

+0
-22
lines changed

2 files changed

+0
-22
lines changed

includes/model/class-application-user.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,10 +58,6 @@ public function get_attachment() {
5858
return null;
5959
}
6060

61-
public function get_featured_tags() {
62-
return null;
63-
}
64-
6561
public function get_featured() {
6662
return null;
6763
}

includes/model/class-user.php

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,6 @@ class User extends Actor {
1818
*/
1919
protected $_id; // phpcs:ignore PSR2.Classes.PropertyDeclaration.Underscore
2020

21-
/**
22-
* The Featured-Tags.
23-
*
24-
* @see https://docs.joinmastodon.org/spec/activitypub/#featuredTags
25-
*
26-
* @var string
27-
*/
28-
protected $featured_tags;
29-
3021
/**
3122
* The Featured-Posts.
3223
*
@@ -235,15 +226,6 @@ public function get_featured() {
235226
return get_rest_url_by_path( sprintf( 'users/%d/collections/featured', $this->get__id() ) );
236227
}
237228

238-
/**
239-
* Returns the Featured-Tags-API-Endpoint.
240-
*
241-
* @return string The Featured-Tags-Endpoint.
242-
*/
243-
public function get_featured_tags() {
244-
return get_rest_url_by_path( sprintf( 'users/%d/collections/tags', $this->get__id() ) );
245-
}
246-
247229
/**
248230
* Extend the User-Output with Attachments.
249231
*

0 commit comments

Comments
 (0)