public function instantGIDchange($gid, $removegid = array(), $sessionextra = null) { if (empty($this->cmsUser)) { return null; } // Always protect last administrator if ($this->isAdmin()) { if (xJACLhandler::countAdmins() < 2) { return false; } } $shandler = new xJSessionHandler(); return $shandler->instantGIDchange($this->userid, $gid, $removegid, $sessionextra); }