You are here

function nodejs_nodejs_user_channels in Node.js integration 6

Same name and namespace in other branches
  1. 8 nodejs.module \nodejs_nodejs_user_channels()
  2. 7 nodejs.module \nodejs_nodejs_user_channels()

Implements hook_nodejs_user_channels().

File

./nodejs.module, line 376

Code

function nodejs_nodejs_user_channels($account) {
  if (variable_get('nodejs_enable_userchannel', TRUE) && $account->uid) {
    return array(
      'nodejs_user_' . $account->uid,
    );
  }
  return array();
}