diff options
author | friendica <info@friendica.com> | 2014-05-04 20:30:52 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2014-05-04 20:30:52 -0700 |
commit | 806f1f0fa134cc0168c9f86aaf10b8357fc19905 (patch) | |
tree | 86b38054156890f4139eaf1c3d53576a10542e2f /include/chat.php | |
parent | 3ae67c517ed8791332fb1ace2a0908209a6d0e0d (diff) | |
download | volse-hubzilla-806f1f0fa134cc0168c9f86aaf10b8357fc19905.tar.gz volse-hubzilla-806f1f0fa134cc0168c9f86aaf10b8357fc19905.tar.bz2 volse-hubzilla-806f1f0fa134cc0168c9f86aaf10b8357fc19905.zip |
UI for deleting chatrooms
Diffstat (limited to 'include/chat.php')
-rw-r--r-- | include/chat.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/chat.php b/include/chat.php index 8e84d9be0..4c79319ee 100644 --- a/include/chat.php +++ b/include/chat.php @@ -84,6 +84,9 @@ function chatroom_destroy($channel,$arr) { q("delete from chatpresence where cp_room = %d", intval($r[0]['cr_id']) ); + q("delete from chat where chat_room = %d", + intval($r[0]['cr_id']) + ); } $ret['success'] = true; return $ret; |