You are here

function nodejs_nodejs_user_channels in Node.js integration 7

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

Implements hook_nodejs_user_channels().

File

./nodejs.module, line 510

Code

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