diff options
author | zottel <github@zottel.net> | 2014-02-21 08:54:46 +0100 |
---|---|---|
committer | zottel <github@zottel.net> | 2014-02-21 08:54:46 +0100 |
commit | 8bd006bea83b3dbc02d94b4714a658e8742d9633 (patch) | |
tree | 078e9d4b634d583de8359ddae94c69d86ec19d17 /include/identity.php | |
parent | 79c566bda33645f42f8545fdc6e55af35c4a7d5c (diff) | |
parent | 44d7047fce57085fe63ad5e1088911e9fc07a32e (diff) | |
download | volse-hubzilla-8bd006bea83b3dbc02d94b4714a658e8742d9633.tar.gz volse-hubzilla-8bd006bea83b3dbc02d94b4714a658e8742d9633.tar.bz2 volse-hubzilla-8bd006bea83b3dbc02d94b4714a658e8742d9633.zip |
Merge remote-tracking branch 'upstream/master'
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 |