You are here

public static function Nodejs::removeUserFromChannel in Node.js integration 7

Same name and namespace in other branches
  1. 6 nodejs.module \Nodejs::removeUserFromChannel()
1 call to Nodejs::removeUserFromChannel()
nodejs_remove_user_from_channel in ./nodejs.module
Remove a user from a channel.

File

./nodejs.module, line 941

Class

Nodejs

Code

public static function removeUserFromChannel($uid, $channel) {
  $options = array(
    'method' => 'POST',
  );
  return self::httpRequest("nodejs/user/channel/remove/{$channel}/{$uid}", $options);
}