return false;
}
}
+ if (count($this->profile['subscribe']) > 0) {
+ $this->_newGroup(false);
+ }
return true;
}
return true;
}
- function _newGroup()
+ function _newGroup($showNew = true)
{
$this->_require('groups');
$this->groups = new BananaGroups(BANANA_GROUP_SUB);
- if ($this->groups->type == BANANA_GROUP_SUB) {
+ if ($showNew && $this->groups->type == BANANA_GROUP_SUB) {
$this->newgroups = new BananaGroups(BANANA_GROUP_NEW);
}
}