You are here

public static function Nodejs::addUserToChannel in Node.js integration 6

Same name and namespace in other branches
  1. 7 nodejs.module \Nodejs::addUserToChannel()
1 call to Nodejs::addUserToChannel()
nodejs_add_user_to_channel in ./nodejs.module
Add a user to a channel.

File

./nodejs.module, line 662

Class

Nodejs

Code

public static function addUserToChannel($uid, $channel) {
  self::initConfig();
  return drupal_http_request(self::$baseUrl . "nodejs/user/channel/add/{$channel}/{$uid}", self::$headers);
}