aboutsummaryrefslogtreecommitdiffstats
path: root/include/hubloc.php
diff options
context:
space:
mode:
authorzottel <github@zottel.net>2015-09-29 12:40:24 +0200
committerzottel <github@zottel.net>2015-09-29 12:40:24 +0200
commitf950d27b3debfe08e022a477dbfb4fac101106e4 (patch)
tree38f62f0828163715c634e17290e2d77eb29d1b32 /include/hubloc.php
parent8e410f14b1b5b23e4c7e41d4902ac7b9cb529c1b (diff)
parent2a2da48d1871f408232a8397632f06528c8b43ae (diff)
downloadvolse-hubzilla-f950d27b3debfe08e022a477dbfb4fac101106e4.tar.gz
volse-hubzilla-f950d27b3debfe08e022a477dbfb4fac101106e4.tar.bz2
volse-hubzilla-f950d27b3debfe08e022a477dbfb4fac101106e4.zip
Merge remote-tracking branch 'upstream/master'
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",