mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-07-06 01:42:29 +02:00
New: Language Switch plugin support
git-svn-id: http://piwigo.org/svn/trunk@2161 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -1151,6 +1151,14 @@ function check_status($access_type, $user_status = '')
|
||||
return get_user_status($user_status) == 'guest';
|
||||
}
|
||||
|
||||
/*
|
||||
* Return if user is generic
|
||||
* @return bool
|
||||
*/
|
||||
function is_generic($user_status = '')
|
||||
{
|
||||
return get_user_status($user_status) == 'generic';
|
||||
}
|
||||
/*
|
||||
* Return if user is, at least, a classic user
|
||||
* @return bool
|
||||
|
||||
Reference in New Issue
Block a user