Also fixes User->getLogin($login) with login being a uid.
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
}
if ($login instanceof User) {
- $machin->id();
+ return $login->id();
}
if ($login instanceof Profile) {
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA *
***************************************************************************/
-// {{{ class NamesReq4
+// {{{ class NamesReq
class NamesReq extends ProfileValidate
{
$this->profileOwner->id(), true, $this->new_alias);
// Update the local User object, to pick up the new bestalias.
- $this->profileOwner = User::getSilent($this->profileOwner->id());
+ $this->profileOwner = User::getSilentWithUID($this->profileOwner->id());
}
return true;