aboutsummaryrefslogtreecommitdiffstats
path: root/include/hubloc.php
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2016-11-13 20:22:01 -0800
committerzotlabs <mike@macgirvin.com>2016-11-13 20:22:01 -0800
commit3c302bae5ac71c1853d33117f9bbcfc0e5d81651 (patch)
tree008ba03057e4b22312724155d8c45b7559eb4ca5 /include/hubloc.php
parent103cd2b7a15caaadd5ddf8a6b69c8e3de7a2982b (diff)
downloadvolse-hubzilla-3c302bae5ac71c1853d33117f9bbcfc0e5d81651.tar.gz
volse-hubzilla-3c302bae5ac71c1853d33117f9bbcfc0e5d81651.tar.bz2
volse-hubzilla-3c302bae5ac71c1853d33117f9bbcfc0e5d81651.zip
move all the zid related stuff to one file
Diffstat (limited to 'include/hubloc.php')
-rw-r--r--include/hubloc.php24
1 files changed, 0 insertions, 24 deletions
diff --git a/include/hubloc.php b/include/hubloc.php
index b660c1019..17f921f67 100644
--- a/include/hubloc.php
+++ b/include/hubloc.php
@@ -1,29 +1,5 @@
<?php /** @file */
-function is_matrix_url($url) {
-
- static $remembered = [];
-
- $m = @parse_url($url);
- if($m['host']) {
-
- if(array_key_exists($m['host'],$remembered))
- return $remembered[$m['host']];
-
- $r = q("select hubloc_url from hubloc where hubloc_host = '%s' and hubloc_network = 'zot' limit 1",
- dbesc($m['host'])
- );
- if($r) {
- $remembered[$m['host']] = true;
- return true;
- }
- $remembered[$m['host']] = false;
- }
- return false;
-}
-
-
-
function prune_hub_reinstalls() {
$r = q("select site_url from site where site_type = %d",