From c34d8286a397b8a80d28a9b1d13a297196e4c124 Mon Sep 17 00:00:00 2001 From: redmatrix Date: Wed, 16 Sep 2015 21:27:58 -0700 Subject: change matrix to grid, begin webfinger optimisation --- mod/zfinger.php | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'mod/zfinger.php') diff --git a/mod/zfinger.php b/mod/zfinger.php index 54ea52bc9..4f2b1fca7 100644 --- a/mod/zfinger.php +++ b/mod/zfinger.php @@ -25,17 +25,6 @@ function zfinger_init(&$a) { } } - // allow re-written domains so bob@foo.example.com can provide an address of bob@example.com - // The top-level domain also needs to redirect .well-known/zot-info to the sub-domain with a 301 or 308 - - // TODO: Make 308 work in include/network.php for zot_fetch_url and zot_post_url - - if(($zaddr) && ($s = get_config('system','zotinfo_domainrewrite'))) { - $arr = explode('^',$s); - if(count($arr) == 2) - $zaddr = str_replace($arr[0],$arr[1],$zaddr); - } - $r = null; if(strlen($zhash)) { -- cgit v1.2.3