Exemplo n.º 1
0
/**
 * Translation functions - avoids globals in external code
 * Translate level -> name
 *
 * @deprecated
 * @see SecurityUtil::accesslevelname()
 */
function accesslevelname($level)
{
    LogUtil::log(__f('Warning! Function %1$s is deprecated. Please use %2$s instead.', array(
        'accesslevelname()',
        'SecurityUtil::accesslevelname()')), E_USER_DEPRECATED);
    return SecurityUtil::accesslevelname($level);
}