ssafronova (ssafronova) wrote in changelog,
ssafronova
ssafronova
changelog

[ljcom] r10301: LJSUP-7762: Mail.ru connect - LJSUP-8376...

Committer: ssafronova
LJSUP-7762: Mail.ru connect - LJSUP-8376: Remove Mail.ru string from profile
U   trunk/cgi-bin/LJ/Hooks/Userinfo.pm
Modified: trunk/cgi-bin/LJ/Hooks/Userinfo.pm
===================================================================
--- trunk/cgi-bin/LJ/Hooks/Userinfo.pm	2011-03-25 09:01:34 UTC (rev 10300)
+++ trunk/cgi-bin/LJ/Hooks/Userinfo.pm	2011-03-25 09:07:43 UTC (rev 10301)
@@ -488,19 +488,6 @@
         };
     }
 
-    if ($u->prop('im_mailru')) {
-        my $connect = LJ::ehtml($u->prop('im_mailru'));
-
-        $ret .= qq{
-            <tr class='im_lj'>
-                <td class='im_icon'>
-                    <img src='$LJ::IMGPREFIX/mailru-profile.gif' alt='' />
-                </td>
-                <td colspan="2">$connect</td>
-            </tr>
-        };
-    }
-
     unless ($u->hide_ljtalk) {
         my $jab_title = LJ::run_hook('jabber_title');
         my $jab_link = LJ::run_hook('jabber_link');
@@ -596,16 +583,6 @@
 
     $ret .= "</td></tr>\n";
 
-    $ret .= "<tr><td class='field_name'>" . LJ::Lang::ml('/manage/profile/index.bml.chat.mailru') . "</td><td>";
-    $ret .= LJ::html_text({
-        'name' => 'contact_mailru',
-        'value' => $u->prop('im_mailru'),
-        'size' => '20',
-        'maxlength' => 150,
-    });
-
-    $ret .= "</td></tr>\n";
-
     return $ret;
 });
 
@@ -614,7 +591,6 @@
     my ($u) = @_;
 
     $u->set_prop('im_openid' => LJ::Request->post_param('contact_openid'));
-    $u->set_prop('im_mailru' => LJ::Request->post_param('contact_mailru'));
 });
 
 1;

Tags: ljcom, pm, ssafronova
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments