aboutsummaryrefslogtreecommitdiffstats
path: root/mod/zfinger.php
diff options
context:
space:
mode:
authormrjive <mrjive@mrjive.it>2015-09-17 09:27:13 +0200
committermrjive <mrjive@mrjive.it>2015-09-17 09:27:13 +0200
commit024af91df82b4bb14983c53ae319ba9d348773d6 (patch)
treee2c0fa8ae7827ebea20db24264dbacbcd1495edd /mod/zfinger.php
parent4c5a74284bb1c2e23ef1e40c09d10f3449f8c853 (diff)
parent5d33b34be7fe1a4c89d43a4bdab5c4e6b35a61bc (diff)
downloadvolse-hubzilla-024af91df82b4bb14983c53ae319ba9d348773d6.tar.gz
volse-hubzilla-024af91df82b4bb14983c53ae319ba9d348773d6.tar.bz2
volse-hubzilla-024af91df82b4bb14983c53ae319ba9d348773d6.zip
Merge pull request #1 from redmatrix/master
updating from original codebase
Diffstat (limited to 'mod/zfinger.php')
-rw-r--r--mod/zfinger.php11
1 files changed, 0 insertions, 11 deletions
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)) {