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

[livejournal] r19752: LJSUP-8713

Committer: wisest-owl
LJSUP-8713

U   trunk/htdocs/editjournal.bml
Modified: trunk/htdocs/editjournal.bml
===================================================================
--- trunk/htdocs/editjournal.bml	2011-08-17 06:57:31 UTC (rev 19751)
+++ trunk/htdocs/editjournal.bml	2011-08-17 07:51:33 UTC (rev 19752)
@@ -8,7 +8,8 @@
     BML::decl_params(_default => qr/./);
 
     use LJ::Fotki::Photo;
-    use LJ::Fotki::Album;	
+    use LJ::Fotki::Album;
+    use LJ::Fotki::UserSpace;
     use LJ::Widget::Fotki::Upload;
 
     my $head     = \$_[0]->{'head'};
@@ -474,7 +475,7 @@
                     } @$album_list
                 ];
                 $album_list_json = LJ::JSON->to_json ( $album_list );
-                my $spaces = LJ::Fotki::Photo->get_spaces ( $remote );
+                my $spaces = LJ::Fotki::UserSpace->get_spaces ( $remote );
                 $available_space = $spaces->[2] || 0;
 
                 my $auth_token = LJ::Auth->sessionless_auth_token ($LJ::DOMAIN_WEB."/pics/upload", user => $remote ? $remote->user : undef);

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