diff options
-rw-r--r-- | include/zot.php | 3 | ||||
-rw-r--r-- | mod/zfinger.php | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/include/zot.php b/include/zot.php index 124fe7fd6..e365435e9 100644 --- a/include/zot.php +++ b/include/zot.php @@ -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')); diff --git a/mod/zfinger.php b/mod/zfinger.php index ff1bf3a35..0827f3424 100644 --- a/mod/zfinger.php +++ b/mod/zfinger.php @@ -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); } |