- $ret = $GLOBALS['cache_array']['nicknames'][$userid];
-
- // Increment cache counter
- incrementConfigEntry('cache_hits');
- } elseif (NICKNAME_IS_ACTIVE($userid)) {
- // Search for non-empty nickname
- $result = SQL_QUERY_ESC("SELECT nickname FROM `{!_MYSQL_PREFIX!}_user_data` WHERE userid=%s AND nickname != '' LIMIT 1",
- array(bigintval($userid)), __FUNCTION__, __LINE__);