10 lines
247 B
PHP
10 lines
247 B
PHP
<?php
|
|
|
|
require_once($_SERVER['DOCUMENT_ROOT'] . "/config.php");
|
|
|
|
if ($_SESSION['id'] && $_POST['groupId'] && $_POST['userId']) {
|
|
|
|
$post = clearInputData($_POST);
|
|
|
|
echo RocketChat::removeUserFromChannel($post['groupId'], $post['userId']);
|
|
} |