]> git.mxchange.org Git - friendica.git/blobdiff - mod/lostpass.php
Merge remote-tracking branch 'upstream/develop' into warning
[friendica.git] / mod / lostpass.php
index 150c170d7a47b53bae77ca428e7a523bde016db6..62b621b8ce24a66a7fa3ed3330144b40f85f79fb 100644 (file)
@@ -49,7 +49,7 @@ function lostpass_post(App $a)
        ];
        $result = DBA::update('user', $fields, ['uid' => $user['uid']]);
        if ($result) {
-               info(DI::l10n()->t('Password reset request issued. Check your email.'));
+               DI::sysmsg()->addInfo(DI::l10n()->t('Password reset request issued. Check your email.'));
        }
 
        $sitename = DI::config()->get('config', 'sitename');
@@ -152,7 +152,7 @@ function lostpass_generate_password($user)
                        '$newpass' => $new_password,
                ]);
 
-               info(DI::l10n()->t("Your password has been reset."));
+               DI::sysmsg()->addInfo(DI::l10n()->t("Your password has been reset."));
 
                $sitename = DI::config()->get('config', 'sitename');
                $preamble = Strings::deindent(DI::l10n()->t('