aboutsummaryrefslogtreecommitdiffstats
path: root/include/functions_user.inc.php
diff options
context:
space:
mode:
Diffstat (limited to 'include/functions_user.inc.php')
-rw-r--r--include/functions_user.inc.php13
1 files changed, 7 insertions, 6 deletions
diff --git a/include/functions_user.inc.php b/include/functions_user.inc.php
index 262b11d8b..148c01dc7 100644
--- a/include/functions_user.inc.php
+++ b/include/functions_user.inc.php
@@ -1143,22 +1143,23 @@ function check_status($access_type, $user_status = '')
}
/*
- * Return if user is only a guest
+ * Return if user is generic
* @return bool
*/
- function is_a_guest($user_status = '')
+ function is_generic($user_status = '')
{
- return get_user_status($user_status) == 'guest';
+ return get_user_status($user_status) == 'generic';
}
/*
- * Return if user is generic
+ * Return if user is only a guest
* @return bool
*/
- function is_generic($user_status = '')
+ function is_a_guest($user_status = '')
{
- return get_user_status($user_status) == 'generic';
+ return get_user_status($user_status) == 'guest';
}
+
/*
* Return if user is, at least, a classic user
* @return bool