-
david.verdin authored
[bug] Test in Sympa::User::moveto sub made email change fail even though it was actually succesful. This is due to the fact that ->rows will most of the time return 0 in case of multiples virtual hosts. Fixed by getting rid of the rows test and counting on the result of do-prepared_query to check whether the query succeeded or not. The number of rows affected should not be a clue because it will be zero for all virtual hosts if the user does not exist. This should be checked before trying to change email address. git-svn-id: https://subversion.renater.fr/sympa/branches/sympa-6.2-branch@12672 05aa8bb8-cd2b-0410-b1d7-8918dfa770ce
64107ca1