summaryrefslogtreecommitdiff
path: root/plugins/password
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2012-11-26 10:08:40 +0100
committerAleksander Machniak <alec@alec.pl>2012-11-26 10:08:40 +0100
commit789e5988aaebb78d368b137b98169ec1e616159c (patch)
treeba855c4b2464b659703d5d08202f85c48ed1c180 /plugins/password
parentc72fbf06d6b08addbcc5dc234392b591c4239632 (diff)
Clarify rcube::get_user_name() usage, add rcube::get_user_email()
Diffstat (limited to 'plugins/password')
-rw-r--r--plugins/password/password.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/password/password.php b/plugins/password/password.php
index 028a58d3e..806db0586 100644
--- a/plugins/password/password.php
+++ b/plugins/password/password.php
@@ -164,7 +164,7 @@ class password extends rcube_plugin
// Log password change
if ($rcmail->config->get('password_log')) {
write_log('password', sprintf('Password changed for user %s (ID: %d) from %s',
- $rcmail->user->get_username(), $rcmail->user->ID, rcmail_remote_ip()));
+ $rcmail->get_user_name(), $rcmail->user->ID, rcmail_remote_ip()));
}
}
else {