add hooks to zot-finger and import_xchan
This commit is contained in:
parent
657b842d64
commit
7187c493e1
@ -531,6 +531,9 @@ function zot_register_hub($arr) {
|
||||
|
||||
function import_xchan($arr,$ud_flags = 1) {
|
||||
|
||||
|
||||
call_hooks('import_xchan', $arr);
|
||||
|
||||
$ret = array('success' => false);
|
||||
$dirmode = intval(get_config('system','directory_mode'));
|
||||
|
||||
|
@ -252,6 +252,7 @@ function zfinger_init(&$a) {
|
||||
$ret['site']['location'] = get_config('system','site_location');
|
||||
|
||||
}
|
||||
call_hooks('zot_finger',$ret);
|
||||
json_return_and_die($ret);
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user