Only print no changes message if queries failed
commiteb169d3b0b5d873d85791595a4e64df1ed337e1e
authorJohannes Löthberg <johannes@kyriasis.com>
Sat, 27 Jun 2015 15:48:39 +0000 (27 17:48 +0200)
committerLukas Fleischer <lfleischer@archlinux.org>
Sat, 27 Jun 2015 16:00:39 +0000 (27 18:00 +0200)
tree9ccd417a97769250dd458b9d98e7bff73913332b
parentc1ac7dced0626228327f60fac530522d32f992e6
Only print no changes message if queries failed

This commit changes the messages printed when changing the accound
details so that it only prints that no changes were made if either the
account change SQL query or the account_set_ssh_keys call failed.

Reported-by: Alexis Chotard <alexis.horgix.chotard@gmail.com>
Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
web/lib/acctfuncs.inc.php