diff options
Diffstat (limited to '')
-rw-r--r-- | include/functions_user.inc.php | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/functions_user.inc.php b/include/functions_user.inc.php index f9b31e51c..6a63c83e4 100644 --- a/include/functions_user.inc.php +++ b/include/functions_user.inc.php @@ -1236,6 +1236,15 @@ function check_status($access_type, $user_status = '') } /* + * Return if user is, at least, a webmaster + * @return bool +*/ + function is_webmaster($user_status = '') +{ + return is_autorize_status(ACCESS_WEBMASTER, $user_status); +} + +/* * Return if current user is an adviser * @return bool */ |