Changeset 2163 for trunk


Ignore:
Timestamp:
Nov 19, 2007, 9:12:22 PM (17 years ago)
Author:
vdigital
Message:

Add is_generic function

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/functions_user.inc.php

    r2161 r2163  
    11441144
    11451145/*
     1146 * Return if user is generic
     1147 * @return bool
     1148*/
     1149 function is_generic($user_status = '')
     1150{
     1151  return get_user_status($user_status) == 'generic';
     1152}
     1153
     1154/*
    11461155 * Return if user is only a guest
    11471156 * @return bool
     
    11521161}
    11531162
    1154 /*
    1155  * Return if user is generic
    1156  * @return bool
    1157 */
    1158  function is_generic($user_status = '')
    1159 {
    1160   return get_user_status($user_status) == 'generic';
    1161 }
    11621163/*
    11631164 * Return if user is, at least, a classic user
Note: See TracChangeset for help on using the changeset viewer.