Transfer to git
This commit is contained in:
16
includes/chat_reading_contr.inc.php
Normal file
16
includes/chat_reading_contr.inc.php
Normal file
@@ -0,0 +1,16 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
function get_chat_history(object $pdo) {
|
||||
$chat_history = retrieve_chat_history($pdo);
|
||||
return $chat_history;
|
||||
}
|
||||
|
||||
function display_history(array $chat_history) {
|
||||
render_history($chat_history);
|
||||
}
|
||||
|
||||
function print_errors(){
|
||||
check_errors();
|
||||
}
|
||||
Reference in New Issue
Block a user