return ((isset($GLOBALS['config_local_loaded'])) && ($GLOBALS['config_local_loaded'] === true));
}
+// Checks wether a nickname or userid was entered and caches the result
+function isNicknameUsed ($userid) {
+ // Default is false
+ $isUsed = false;
+
+ // Is the cache there
+ if (isset($GLOBALS['cache_probe_nicknames'][$userid])) {
+ // Then use it
+ $isUsed = $GLOBALS['cache_probe_nicknames'][$userid];
+ } else {
+ // Determine it
+ $isUsed = ((EXT_IS_ACTIVE('nickname')) && ((''.round($userid).'') != $userid));
+
+ // And write it to the cache
+ $GLOBALS['cache_probe_nicknames'][$userid] = $isUsed;
+ }
+
+ // Return the result
+ return $isUsed;
+}
+
// [EOF]
?>