}
if ($hash) {
- require_once 'directory.enums.inc.php';
-
$nameTypes = DirEnum::getOptions(DirEnum::NAMETYPES);
$nameTypes = array_flip($nameTypes);
$res = XDB::query("SELECT a.uid, pd.promo, pnl.name AS lastname, pnf.name AS firstname, p.xorg_id AS xorgid,
return PL_FORBIDDEN;
}
- require_once 'directory.enums.inc.php';
$nameTypes = DirEnum::getOptions(DirEnum::NAMETYPES);
$nameTypes = array_flip($nameTypes);
$mymail->send();
// Index the user, to allow her to appear in searches.
- Profile::rebuildSearchTokens($uid);
+ Profile::rebuildSearchTokens($pid);
// Notify other users which were watching for her arrival.
XDB::execute('REPLACE INTO contacts (uid, contact)