From 57fecfb11a07c8d046bf279b8d22384c10da4212 Mon Sep 17 00:00:00 2001 From: Vincent Zanotti Date: Sat, 4 Apr 2009 15:11:52 +0200 Subject: [PATCH] Fixes a typo and a grammar mistake in comments added in the previous commit. Signed-off-by: Vincent Zanotti --- modules/admin.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/admin.php b/modules/admin.php index 9c84011..f9a8fe0 100644 --- a/modules/admin.php +++ b/modules/admin.php @@ -572,12 +572,12 @@ class AdminModule extends PLModule user_reindex($user->id()); $new_fields = XDB::query($watch_query, $user->id())->fetchOneAssoc(); - // Redacts the password in the notification, to avoiding transmitting + // Redacts the password in the notification, to avoid transmitting // sensitive information by email. $new_fields['password'] = ($old_fields['password'] != $new_fields['password'] ? 'new' : 'old'); $old_fields['password'] = 'old'; - // Emails the admins to notify the profile update. + // Notifies the admins of the profile update. $mailer = new PlMailer("admin/useredit.mail.tpl"); $mailer->assign("admin", S::user()->login()); $mailer->assign("user", $user->login()); -- 2.1.4