mark: A photo of Mark kneeling on top of the Taal Volcano in the Philippines. It was a long hike. (Default)
Mark Smith ([staff profile] mark) wrote in [site community profile] changelog2009-06-12 08:46 pm

[dw-free] Deleted openID profiles still use ext_NNN

[commit: http://hg.dwscoalition.org/dw-free/rev/64f05824a80e]

http://bugs.dwscoalition.org/show_bug.cgi?id=1030

Show OpenID name on the 'account has been deleted' message.

Patch by [staff profile] denise.

Files modified:
  • htdocs/userinfo.bml
--------------------------------------------------------------------------------
diff -r 7351b0b64242 -r 64f05824a80e htdocs/userinfo.bml
--- a/htdocs/userinfo.bml	Fri Jun 12 20:33:03 2009 +0000
+++ b/htdocs/userinfo.bml	Fri Jun 12 20:46:06 2009 +0000
@@ -135,7 +135,7 @@ body<=
         if ( $u->is_deleted ) {
             BML::set_status(404); # 404 Not Found
             $title = $ML{'error.deleted.title'};
-            my $del_body = "<?h1 $ML{'error.deleted.name'} h1?><?p " . BML::ml( 'error.deleted.text', { user => $u->user } ) . " p?>";
+            my $del_body = "<?h1 $ML{'error.deleted.name'} h1?><?p " . BML::ml( 'error.deleted.text', { user => $u->display_name } ) . " p?>";
             $del_body .= BML::ml( '.error.deleted.purgenotification', { aopts => "href='$LJ::SITEROOT/manage/subscriptions/user.bml?journal=" . $u->user . "'" } )
                 unless LJ::User->is_protected_username( $u->user );
             return $del_body;
--------------------------------------------------------------------------------

Post a comment in response:

This account has disabled anonymous posting.
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting

If you are unable to use this captcha for any reason, please contact us by email at support@dreamwidth.org