exit(1);
}
-require_once INSTALLDIR . '/lib/apiauth.php';
-
/**
* Make a new group. Sets the authenticated user as the administrator of the group.
*
*/
function groupNicknameExists($nickname)
{
- $local = Local_group::staticGet('nickname', $nickname);
+ $local = Local_group::getKV('nickname', $nickname);
if (!empty($local)) {
return true;
}
- $alias = Group_alias::staticGet('alias', $nickname);
+ $alias = Group_alias::getKV('alias', $nickname);
if (!empty($alias)) {
return true;