<?php
/***************************************************************************
- * Copyright (C) 2003-2009 Polytechnique.org *
+ * Copyright (C) 2003-2010 Polytechnique.org *
* http://opensource.polytechnique.org/ *
* *
* This program is free software; you can redistribute it and/or modify *
VALUES ({?}, 'alias', 'usage', {?})",
$new_alias, S::i('uid'));
}
- require_once('user.func.inc.php');
- user_reindex($uid);
+ Profile::rebuildSearchTokens(S::i('uid'));
return $has_new;
}