diff --git a/cron/cleanup.php b/cron/cleanup.php index 16a97ff..1754b82 100644 --- a/cron/cleanup.php +++ b/cron/cleanup.php @@ -103,7 +103,7 @@ function deleteUser($iUserId) function warnUserDeleted($sEmail) { $sSubject = "Warning: account removed"; - $sMsg = "You didn't log in in the past seven month to the AppDB.\r\n"; + $sMsg = "You didn't log in in the past seven months to the AppDB.\r\n"; $sMsg .= "As you don't have any data associated to your account we have removed it.\r\n"; $sMsg .= "Please feel free to recreate an account anytime.\r\n"; @@ -166,4 +166,4 @@ function orphanVersionCheck() $sEmail = get_notify_email_address_list(null, null); /* get list admins */ if($sEmail) mail_appdb($sEmail, $sSubject, $sMsg); -} \ No newline at end of file +} diff --git a/include/user.php b/include/user.php index 7692b33..1b4d1cb 100644 --- a/include/user.php +++ b/include/user.php @@ -656,15 +656,16 @@ class User { if($this->isMaintainer()) { $sSubject = "Warning: inactivity detected"; - $sMsg = "You didn't log in in the past six month to the AppDB.\r\n"; + $sMsg = "You didn't log in in the past six months to the AppDB.\r\n"; $sMsg .= "As a maintainer we would be pleased to see you once in a while.\r\n"; $sMsg .= "Please log in or you will lose your maintainer's abilities in one month.\r\n"; } else { $sSubject = "Warning: inactivity detected"; - $sMsg = "You didn't log in in the past six month to the AppDB.\r\n"; + $sMsg = "You didn't log in in the past six months to the AppDB.\r\n"; $sMsg .= "Please log in or your account will automatically be deleted in one month.\r\n"; } + $sMsg .= APPDB_ROOT."account.php?cmd=login\r\n"; mail_appdb($this->sEmail, $sSubject, $sMsg);