backport
authorRaphael Marichez <falco@m4x.org>
Mon, 2 May 2005 15:21:27 +0000 (15:21 +0000)
committerFlorent Bruneau <florent.bruneau@polytechnique.org>
Thu, 26 Jun 2008 21:28:52 +0000 (23:28 +0200)
Patches applied:

 * opensource@polytechnique.org--2005/platal--release--0.9.5--patch-15
   bugfix/typo

git-archimport-id: opensource@polytechnique.org--2005/platal--mainline--0.9--patch-621

include/user.func.inc.php

index c70a9e8..95db763 100644 (file)
@@ -44,7 +44,7 @@ function user_clear_all_subs($user_id, $really_del=true)
     $globals->xdb->execute("DELETE FROM virtual_redirect WHERE redirect = {?}", $alias.'@'.$globals->mail->domain);
     $globals->xdb->execute("DELETE FROM virtual_redirect WHERE redirect = {?}", $alias.'@'.$globals->mail->domain2);
 
-    $globals->xdb->execute("UPDATE auth_user_md5   SET passwd='',smtppass='' WHERE user_id={?}", $uid);
+    $globals->xdb->execute("UPDATE auth_user_md5   SET password='',smtppass='' WHERE user_id={?}", $uid);
     $globals->xdb->execute("UPDATE auth_user_quick SET watch_flags='' WHERE user_id={?}", $uid);
 
     $globals->xdb->execute("DELETE FROM competences_ins WHERE uid={?}", $uid);