Igor Gariev (gariev) wrote in changelog,
Igor Gariev
gariev
changelog

[livejournal] r19419: LJSUP-9216: Can't locate object method "...

Committer: gariev
LJSUP-9216: Can't locate object method "shorten" via package "LJ::API::BitLy"

U   trunk/cgi-bin/LJ/Event/Birthday.pm
Modified: trunk/cgi-bin/LJ/Event/Birthday.pm
===================================================================
--- trunk/cgi-bin/LJ/Event/Birthday.pm	2011-07-01 10:22:22 UTC (rev 19418)
+++ trunk/cgi-bin/LJ/Event/Birthday.pm	2011-07-04 03:26:01 UTC (rev 19419)
@@ -3,6 +3,7 @@
 use strict;
 use base 'LJ::Event';
 use LJ::WishList;
+use LJ::Client::BitLy;
 use Carp qw(croak);
 
 sub new {
@@ -40,7 +41,7 @@
     my $lang = ($u && $u->prop('browselang')) || $LJ::DEFAULT_LANG;
 
     my $tinyurl = $self->bdayuser->journal_base;
-    $tinyurl = LJ::API::BitLy->shorten($tinyurl);
+    $tinyurl = LJ::Client::BitLy->shorten($tinyurl);
     undef $tinyurl if $tinyurl =~ /^500/;
 
 # [[user]]'s birthday is on [[bday]]!

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