fix nodeinfo integration
This commit is contained in:
parent
f4cab6647d
commit
5ce8f28852
1 changed files with 2 additions and 2 deletions
|
@ -29,7 +29,7 @@ class Nodeinfo {
|
|||
*
|
||||
* @return array The extended array
|
||||
*/
|
||||
public static function nodeinfo_data( $nodeinfo, $version ) {
|
||||
public static function add_nodeinfo_data( $nodeinfo, $version ) {
|
||||
if ( $version >= '2.0' ) {
|
||||
$nodeinfo['protocols'][] = 'activitypub';
|
||||
} else {
|
||||
|
@ -53,7 +53,7 @@ class Nodeinfo {
|
|||
*
|
||||
* @return array The extended array
|
||||
*/
|
||||
public static function nodeinfo2_data( $nodeinfo ) {
|
||||
public static function add_nodeinfo2_data( $nodeinfo ) {
|
||||
$nodeinfo['protocols'][] = 'activitypub';
|
||||
|
||||
$nodeinfo['usage']['users'] = array(
|
||||
|
|
Loading…
Reference in a new issue