wisest owl (wisest_owl) wrote in changelog,
wisest owl
wisest_owl
changelog

[livejournal] r17378: LJSUP-6482

Committer: gprochaev
LJSUP-6482

U   trunk/cgi-bin/LJ/Event/JournalNewComment.pm
Modified: trunk/cgi-bin/LJ/Event/JournalNewComment.pm
===================================================================
--- trunk/cgi-bin/LJ/Event/JournalNewComment.pm	2010-09-15 05:28:59 UTC (rev 17377)
+++ trunk/cgi-bin/LJ/Event/JournalNewComment.pm	2010-09-15 08:18:54 UTC (rev 17378)
@@ -4,7 +4,6 @@
 use Class::Autouse qw(LJ::Comment LJ::HTML::Template);
 use Carp qw(croak);
 use LJ::API::BitLy;
-use LJ::Bitly;
 use base 'LJ::Event';
 
 # we don't allow subscriptions to comments on friends' journals, so
@@ -249,9 +248,7 @@
         }
     }
 
-    #my $tinyurl = LJ::API::BitLy->shorten($self->comment->url);
-    my $tinyurl = LJ::Bitly->to_short($self->comment->url);
-
+    my $tinyurl = LJ::API::BitLy->shorten($self->comment->url);
     return $msg . " " . $tinyurl; 
 }
 

Tags: livejournal, pm, wisest-owl
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