]> git.mxchange.org Git - friendica.git/blobdiff - mod/lostpass.php
Better content detection for posts to Twitter
[friendica.git] / mod / lostpass.php
index a2e69ffb090d2422a7f5253ee731735ddd53d961..e7e1a33bd02b22d72c90d621cd2d50656638f127 100644 (file)
@@ -69,7 +69,7 @@ function lostpass_post(App $a) {
        $body = sprintf($body, $resetlink, System::baseUrl(), $email);
 
        notification(array(
-               'type' => "SYSTEM_EMAIL",
+               'type' => SYSTEM_EMAIL,
                'to_email' => $email,
                'subject'=> sprintf( t('Password reset requested at %s'),$sitename),
                'preamble'=> $preamble,
@@ -145,7 +145,7 @@ function lostpass_content(App $a) {
                        $body = sprintf($body, System::baseUrl(), $email, $new_password);
 
                        notification(array(
-                               'type' => "SYSTEM_EMAIL",
+                               'type' => SYSTEM_EMAIL,
                                'to_email' => $email,
                                'subject'=> sprintf( t('Your password has been changed at %s'),$sitename),
                                'preamble'=> $preamble,