remove featured tags endpoint
This commit is contained in:
parent
b946ef3de1
commit
4d7c0594cd
2 changed files with 0 additions and 22 deletions
|
@ -58,10 +58,6 @@ class Application_User extends Blog_User {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function get_featured_tags() {
|
|
||||||
return null;
|
|
||||||
}
|
|
||||||
|
|
||||||
public function get_featured() {
|
public function get_featured() {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
|
@ -18,15 +18,6 @@ class User extends Actor {
|
||||||
*/
|
*/
|
||||||
protected $_id; // phpcs:ignore PSR2.Classes.PropertyDeclaration.Underscore
|
protected $_id; // phpcs:ignore PSR2.Classes.PropertyDeclaration.Underscore
|
||||||
|
|
||||||
/**
|
|
||||||
* The Featured-Tags.
|
|
||||||
*
|
|
||||||
* @see https://docs.joinmastodon.org/spec/activitypub/#featuredTags
|
|
||||||
*
|
|
||||||
* @var string
|
|
||||||
*/
|
|
||||||
protected $featured_tags;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The Featured-Posts.
|
* The Featured-Posts.
|
||||||
*
|
*
|
||||||
|
@ -235,15 +226,6 @@ class User extends Actor {
|
||||||
return get_rest_url_by_path( sprintf( 'users/%d/collections/featured', $this->get__id() ) );
|
return get_rest_url_by_path( sprintf( 'users/%d/collections/featured', $this->get__id() ) );
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* Returns the Featured-Tags-API-Endpoint.
|
|
||||||
*
|
|
||||||
* @return string The Featured-Tags-Endpoint.
|
|
||||||
*/
|
|
||||||
public function get_featured_tags() {
|
|
||||||
return get_rest_url_by_path( sprintf( 'users/%d/collections/tags', $this->get__id() ) );
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Extend the User-Output with Attachments.
|
* Extend the User-Output with Attachments.
|
||||||
*
|
*
|
||||||
|
|
Loading…
Reference in a new issue