mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-03 09:14:48 +09:00
issue 626 added a function that prohibit nickname.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.3.2@11079 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
6c491423a4
commit
9c41e35ba3
13 changed files with 253 additions and 13 deletions
|
|
@ -660,6 +660,17 @@
|
|||
return $output->data;
|
||||
}
|
||||
|
||||
function getDeniedNickNames()
|
||||
{
|
||||
$output = executeQueryArray('member.getDeniedNickNames');
|
||||
if(!$output->toBool())
|
||||
{
|
||||
return array();
|
||||
}
|
||||
|
||||
return $output->data;
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief Verify if ID is denied
|
||||
**/
|
||||
|
|
@ -670,6 +681,20 @@
|
|||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief Verify if nick name is denied
|
||||
**/
|
||||
function isDeniedNickName($nickName)
|
||||
{
|
||||
$args->nick_name = $nickName;
|
||||
$output = executeQuery('member.chkDeniedNickName', $args);
|
||||
if($output->data->count) return true;
|
||||
if(!$output->toBool())
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
/**
|
||||
* @brief Get information of the profile image
|
||||
**/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue