aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaolo Tacconi <p.tacconi@giunti.it>2014-09-30 13:32:08 +0200
committerPaolo Tacconi <p.tacconi@giunti.it>2014-09-30 13:32:08 +0200
commitbfeac3670295781fac471d45a4efe8ee25f61083 (patch)
treef0bad3570069a68630dc28de0992657bfd69c6d5
parent1cc5babd39259409558a3be1bf206bc38bc9ca56 (diff)
downloadvolse-hubzilla-bfeac3670295781fac471d45a4efe8ee25f61083.tar.gz
volse-hubzilla-bfeac3670295781fac471d45a4efe8ee25f61083.tar.bz2
volse-hubzilla-bfeac3670295781fac471d45a4efe8ee25f61083.zip
useless file: knownhubs
-rw-r--r--mod/knownhubs.php22
1 files changed, 0 insertions, 22 deletions
diff --git a/mod/knownhubs.php b/mod/knownhubs.php
deleted file mode 100644
index 9993d8e50..000000000
--- a/mod/knownhubs.php
+++ /dev/null
@@ -1,22 +0,0 @@
-<?php
-
-function knownhubs_init(&$a) {
-
- if ($a->argv[1]=="json"){
- $known_hubs = array();
- $r = q("SELECT s.site_url FROM site as s group by s.site_url");
-
- if(count($r)) {
- foreach($r as $rr) {
- $known_hubs[] = $rr['site_url'];
- }
- }
- sort($known_hubs);
-
- $data = Array(
- 'knownhubs' => $known_hubs,
- );
- json_return_and_die($data);
- }
-
-}