Update activitypub.extend.php
This commit is contained in:
parent
b53a512d3a
commit
95814b7b7c
|
@ -1202,7 +1202,15 @@ class _GNUBOARD_ActivityPub {
|
||||||
}
|
}
|
||||||
|
|
||||||
public static function shares() {
|
public static function shares() {
|
||||||
// TODO
|
$bo = get_board_db($_GET['bo_table'], true);
|
||||||
|
|
||||||
|
switch($bo['bo_table']) {
|
||||||
|
case ACTIVITYPUB_G5_BOARDNAME:
|
||||||
|
return self::inbox(); // 액티비티를 저장하는 테이블인 경우 inbox와 동일하게 취급
|
||||||
|
|
||||||
|
default:
|
||||||
|
return array(); // TODO
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public static function close() {
|
public static function close() {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user