From 36f63573c5cd471f3296dff0a277900093267cf3 Mon Sep 17 00:00:00 2001 From: friendica Date: Wed, 24 Jul 2013 18:17:00 -0700 Subject: more site stats --- include/identity.php | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'include/identity.php') diff --git a/include/identity.php b/include/identity.php index 7e42e33a8..8f8a71fee 100644 --- a/include/identity.php +++ b/include/identity.php @@ -58,6 +58,14 @@ function create_dir_account() { } +function channel_total() { + $r = q("select channel_id from channel where true"); + if(is_array($r)) + return count($r); + return false; +} + + // Required: name, nickname, account_id -- cgit v1.2.3