Skip to content

Commit

Permalink
Remove Yahoo Messanger from user profiles. Fixes #2356 (#2389)
Browse files Browse the repository at this point in the history
  • Loading branch information
rshatch authored and zorkian committed Jan 30, 2019
1 parent 096eefc commit 95c112e
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 25 deletions.
6 changes: 5 additions & 1 deletion bin/upgrading/deadphrases.dat
Expand Up @@ -1854,4 +1854,8 @@ general widget.createaccount.error.birthdate.invalid
general /profile.bml.details.userpics

general /manage/profile/index.bml.services.delicious
general /profile.bml.service.delicious
general /profile.bml.service.delicious

general /profile.bml.im.yim
general /profile.bml.label.yahooid
general /manage/profile/index.bml.chat.yahooid
11 changes: 0 additions & 11 deletions cgi-bin/DW/Logic/ProfilePage.pm
Expand Up @@ -941,17 +941,6 @@ sub external_services {
};
}

if ( my $yahoo = $u->prop( 'yahoo' ) ) {
my $eyahoo = LJ::eurl( $yahoo );
push @ret, {
type => 'yahoo',
text => LJ::ehtml( $yahoo ),
url => "http://profiles.yahoo.com/$eyahoo",
image => 'yahoo.gif',
title_ml => '.im.yim',
};
}

return @ret;
}

Expand Down
1 change: 0 additions & 1 deletion cgi-bin/DW/Worker/ContentImporter/LiveJournal.pm
Expand Up @@ -536,7 +536,6 @@ sub get_foaf_from {
'foaf:name' => 'name',
'foaf:icqChatID' => 'icq',
'foaf:jabberID' => 'jabber',
'foaf:yahooChatID' => 'yahoo',
'ya:bio' => 'bio',
'lj:journaltitle' => 'journaltitle',
'lj:journalsubtitle' => 'journalsubtitle',
Expand Down
2 changes: 1 addition & 1 deletion cgi-bin/DW/Worker/ContentImporter/Local/Bio.pm
Expand Up @@ -59,7 +59,7 @@ sub merge_bio_items {

$u->set_bio( $items->{'bio'} ) if defined( $items->{'bio'} );

foreach my $prop ( qw/ icq jabber yahoo journaltitle journalsubtitle / ) {
foreach my $prop ( qw/ icq jabber journaltitle journalsubtitle / ) {
$u->set_prop( $prop => $items->{$prop} )
if defined $items->{$prop};
}
Expand Down
2 changes: 1 addition & 1 deletion cgi-bin/LJ/Directory/Constraint/ContactInfo.pm
Expand Up @@ -50,7 +50,7 @@ sub matching_uids {

my @propids;
# FIRST: check whether we get matches based on IM services
foreach my $service (qw(icq yahoo jabber skype google_talk)) {
foreach my $service (qw(icq jabber skype google_talk)) {
my $p = LJ::get_prop("user", $service);
push @propids, $p->{upropid};
}
Expand Down
3 changes: 1 addition & 2 deletions cgi-bin/LJ/Feed.pm
Expand Up @@ -605,7 +605,7 @@ sub create_view_foaf {

# setup userprops we will need
$u->preload_props( qw{
icq yahoo jabber icbm url urlname country city journaltitle
icq jabber icbm url urlname country city journaltitle
} );

# create bare foaf document, for now
Expand Down Expand Up @@ -666,7 +666,6 @@ sub create_view_foaf {
# contact type information
my %types = (
icq => 'icqChatID',
yahoo => 'yahooChatID',
jabber => 'jabberID',
);
if ($u->{allow_contactshow} eq 'Y') {
Expand Down
3 changes: 1 addition & 2 deletions htdocs/manage/profile/index.bml
Expand Up @@ -56,7 +56,7 @@ body<=
opt_whatemailshow comm_theme
ao3 deviantart diigo discord etsy ffnet github google_talk
icq instagram jabber last_fm_user livejournal pinboard pinterest
plurk ravelry skype tumblr twitter yahoo
plurk ravelry skype tumblr twitter
url urlname gender
opt_hidefriendofs opt_hidememberofs
sidx_bdate sidx_bday
Expand Down Expand Up @@ -423,7 +423,6 @@ body<=
["skype", $ML{'.chat.skype'}, 40],
["tumblr", $ML{ '.services.tumblr' }, 255],
["twitter", $ML{ '.services.twitter' }, 40],
["yahoo", $ML{'.chat.yahooid'}, 33],
)

{
Expand Down
2 changes: 0 additions & 2 deletions htdocs/manage/profile/index.bml.text
Expand Up @@ -7,8 +7,6 @@

.chat.skype=Skype

.chat.yahooid=Yahoo! ID

.comms2=Display communities of which you are a member or administrator.

.display.title=Display Settings for [[name]]
Expand Down
4 changes: 0 additions & 4 deletions htdocs/profile.bml.text
Expand Up @@ -165,8 +165,6 @@

.im.skype=Skype

.im.yim=Yahoo!

.label.addbuddy=Add Buddy

.label.adduser=Add User
Expand Down Expand Up @@ -279,8 +277,6 @@

.label.website=Website:

.label.yahooid=Yahoo! ID:

.linking.about=To link to this user, copy this code:

.linking.anywhere=Elsewhere:
Expand Down

0 comments on commit 95c112e

Please sign in to comment.