diff options
author | friendica <info@friendica.com> | 2013-07-24 18:17:00 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2013-07-24 18:17:34 -0700 |
commit | 36f63573c5cd471f3296dff0a277900093267cf3 (patch) | |
tree | 368d139e13cbe88682717ceac29938db3279b4ef /include/identity.php | |
parent | f92266d8040dd4d2e0aa08760d2ab5a8d9a1dfb3 (diff) | |
download | volse-hubzilla-36f63573c5cd471f3296dff0a277900093267cf3.tar.gz volse-hubzilla-36f63573c5cd471f3296dff0a277900093267cf3.tar.bz2 volse-hubzilla-36f63573c5cd471f3296dff0a277900093267cf3.zip |
more site stats
Diffstat (limited to 'include/identity.php')
-rw-r--r-- | include/identity.php | 8 |
1 files changed, 8 insertions, 0 deletions
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 |