add hooks to zot-finger and import_xchan

This commit is contained in:
friendica 2013-12-03 17:55:10 -08:00
parent 657b842d64
commit 7187c493e1
2 changed files with 4 additions and 0 deletions

View File

@ -531,6 +531,9 @@ function zot_register_hub($arr) {
function import_xchan($arr,$ud_flags = 1) { function import_xchan($arr,$ud_flags = 1) {
call_hooks('import_xchan', $arr);
$ret = array('success' => false); $ret = array('success' => false);
$dirmode = intval(get_config('system','directory_mode')); $dirmode = intval(get_config('system','directory_mode'));

View File

@ -252,6 +252,7 @@ function zfinger_init(&$a) {
$ret['site']['location'] = get_config('system','site_location'); $ret['site']['location'] = get_config('system','site_location');
} }
call_hooks('zot_finger',$ret);
json_return_and_die($ret); json_return_and_die($ret);
} }