aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2018-10-30 17:30:59 -0700
committerzotlabs <mike@macgirvin.com>2018-10-30 17:30:59 -0700
commit623aa7ea48149ca7c2bc556931f25befdf49e58a (patch)
treea961b775a4db004771c0f6a342a69cbf5e91739a /Zotlabs/Module
parent9594105e577fc7d436273f32d2e067c5c277ae52 (diff)
downloadvolse-hubzilla-623aa7ea48149ca7c2bc556931f25befdf49e58a.tar.gz
volse-hubzilla-623aa7ea48149ca7c2bc556931f25befdf49e58a.tar.bz2
volse-hubzilla-623aa7ea48149ca7c2bc556931f25befdf49e58a.zip
remove primary/clone counts from admin summary. The last checkins should fix this count "eventually" but the information has little direct value and may require location information for a local channel to change before it is actually corrected.
Diffstat (limited to 'Zotlabs/Module')
-rw-r--r--Zotlabs/Module/Admin.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/Zotlabs/Module/Admin.php b/Zotlabs/Module/Admin.php
index 6edced9b5..8ccdaf4f5 100644
--- a/Zotlabs/Module/Admin.php
+++ b/Zotlabs/Module/Admin.php
@@ -109,11 +109,9 @@ class Admin extends \Zotlabs\Web\Controller {
// available channels, primary and clones
$channels = array();
- $r = q("SELECT COUNT(*) AS total, COUNT(CASE WHEN channel_primary = 1 THEN 1 ELSE NULL END) AS main, COUNT(CASE WHEN channel_primary = 0 THEN 1 ELSE NULL END) AS clones FROM channel WHERE channel_removed = 0 and channel_system = 0");
+ $r = q("SELECT COUNT(*) AS total FROM channel WHERE channel_removed = 0 and channel_system = 0");
if ($r) {
$channels['total'] = array('label' => t('Channels'), 'val' => $r[0]['total']);
- $channels['main'] = array('label' => t('Primary'), 'val' => $r[0]['main']);
- $channels['clones'] = array('label' => t('Clones'), 'val' => $r[0]['clones']);
}
// We can do better, but this is a quick queue status