aboutsummaryrefslogtreecommitdiffstats
path: root/include/hubloc.php
diff options
context:
space:
mode:
authorredmatrix <redmatrix@redmatrix.me>2015-09-28 17:15:34 -0700
committerredmatrix <redmatrix@redmatrix.me>2015-09-28 17:15:34 -0700
commit3b53cd56ef151586024cb99742a91d4a75afdb5b (patch)
treef0d02417d5cac33bb1d7999bbeefd11848b18d7f /include/hubloc.php
parent6368b093375d50f929b0a419834299e6b62e274e (diff)
parent30e88a4f6b38e1d51ebcd97ac4b81c29f9ce4823 (diff)
downloadvolse-hubzilla-3b53cd56ef151586024cb99742a91d4a75afdb5b.tar.gz
volse-hubzilla-3b53cd56ef151586024cb99742a91d4a75afdb5b.tar.bz2
volse-hubzilla-3b53cd56ef151586024cb99742a91d4a75afdb5b.zip
Merge branch 'deadsite'
Diffstat (limited to 'include/hubloc.php')
-rw-r--r--include/hubloc.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/hubloc.php b/include/hubloc.php
index 674a3885f..a1171b0e2 100644
--- a/include/hubloc.php
+++ b/include/hubloc.php
@@ -16,7 +16,9 @@ function is_matrix_url($url) {
function prune_hub_reinstalls() {
- $r = q("select site_url from site where true");
+ $r = q("select site_url from site where site_type = %d",
+ intval(SITE_TYPE_ZOT)
+ );
if($r) {
foreach($r as $rr) {
$x = q("select count(*) as t, hubloc_sitekey, max(hubloc_connected) as c from hubloc where hubloc_url = '%s' group by hubloc_sitekey order by c",