diff options
author | friendica <info@friendica.com> | 2014-02-20 17:07:43 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2014-02-20 17:07:43 -0800 |
commit | e55170c00a74675cc9654e3485e29372867e402f (patch) | |
tree | 5af5b816f6f10da693d4b262cc94f4b420960e1f /include/identity.php | |
parent | 5c984aab66bd4a2202ac28244ab7e276ddf923e8 (diff) | |
download | volse-hubzilla-e55170c00a74675cc9654e3485e29372867e402f.tar.gz volse-hubzilla-e55170c00a74675cc9654e3485e29372867e402f.tar.bz2 volse-hubzilla-e55170c00a74675cc9654e3485e29372867e402f.zip |
code cleanup
Diffstat (limited to 'include/identity.php')
-rw-r--r-- | include/identity.php | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/identity.php b/include/identity.php index d83498a69..82fc5fbea 100644 --- a/include/identity.php +++ b/include/identity.php @@ -1206,3 +1206,12 @@ function remote_online_status($webbie) { return $result; } + + +function get_channel_by_nick($nick) { + $r = q("select * from channel where channel_address = '%s' limit 1", + dbesc($nick) + ); + return(($r) ? $r[0] : false); + +}
\ No newline at end of file |