MDL-57394 mod_chat: Move get sessions code to new function
commit9b82171b184f52c8827a1af21118ccdb84200e97
authorJuan Leyva <juanleyvadelgado@gmail.com>
Fri, 22 Sep 2017 10:53:39 +0000 (22 12:53 +0200)
committerJuan Leyva <juanleyvadelgado@gmail.com>
Tue, 30 Jan 2018 12:52:05 +0000 (30 13:52 +0100)
tree3702b7a79f23621c4f6c3430c205eb7610591429
parenta4f914b54dbafcaf1cc2bf1cce8bde30cc69db57
MDL-57394 mod_chat: Move get sessions code to new function

To avoid code duplication when creating new web services we need to
move code to a function chat_get_sessions.
mod/chat/lib.php
mod/chat/report.php