Joywork/ajax/chat/clearChannel.php
2026-05-22 21:21:54 +03:00

10 lines
194 B
PHP

<?php
require_once($_SERVER['DOCUMENT_ROOT'] . "/config.php");
if ($_SESSION['id'] && $_POST['groupId']) {
$post = clearInputData($_POST);
RocketChat::clearGroup($post['groupId']);
}