diff options
author | friendica <info@friendica.com> | 2013-12-03 17:55:10 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2013-12-03 17:55:10 -0800 |
commit | 7187c493e16abc98a8e1ed53d63a3d93e63db4af (patch) | |
tree | ea09cad90c4094cedd99a807532810dd6508a83c | |
parent | 657b842d645bab65a9279925a9ae095dd561375d (diff) | |
download | volse-hubzilla-7187c493e16abc98a8e1ed53d63a3d93e63db4af.tar.gz volse-hubzilla-7187c493e16abc98a8e1ed53d63a3d93e63db4af.tar.bz2 volse-hubzilla-7187c493e16abc98a8e1ed53d63a3d93e63db4af.zip |
add hooks to zot-finger and import_xchan
-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); } |