summaryrefslogtreecommitdiff
path: root/Users
diff options
context:
space:
mode:
authorMilan Bouchet-Valat <nalimilan@club.fr>2010-01-17 12:02:41 +0100
committerMilan Bouchet-Valat <nalimilan@club.fr>2010-01-17 22:08:47 +0100
commit7bde7d0939d0c4b483203d9ca3969c7e3eff66f8 (patch)
treee540ede520334f678eb3bfc007ef04f0e1c7a713 /Users
parent5dffdef3746437ce1d00f982649dc0607a3418d1 (diff)
Fix SelfConfig
We don't need to use a struct, since the whole message only holds this object. Update the parameters taken in set_self(), which were outdated.
Diffstat (limited to 'Users')
-rw-r--r--Users/Users.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/Users/Users.pm b/Users/Users.pm
index ff5726c..5a00012 100644
--- a/Users/Users.pm
+++ b/Users/Users.pm
@@ -745,7 +745,7 @@ sub set_user
sub set_self
{
- my ($uid, $old_passwd, $new_passwd, @comments) = @_;
+ my ($uid, @comments, $locale, $location) = @_;
my ($users) = &get ();
# Make backups manually, otherwise they don't get backed up.
@@ -760,7 +760,7 @@ sub set_self
return;
}
}
- # TODO: change password
+ # TODO: change locale and location
}