madeon (madeon) wrote in changelog,
madeon
madeon
changelog

[livejournal] r21934: LJSUP-11909: New Repost feature

Committer: sbelyaev
LJSUP-11909: New Repost feature
U   trunk/cgi-bin/LJ/Entry/Repost.pm
Modified: trunk/cgi-bin/LJ/Entry/Repost.pm
===================================================================
--- trunk/cgi-bin/LJ/Entry/Repost.pm	2012-05-12 10:36:08 UTC (rev 21933)
+++ trunk/cgi-bin/LJ/Entry/Repost.pm	2012-05-12 10:53:33 UTC (rev 21934)
@@ -139,7 +139,7 @@
         LJ::delete_entry($u, $repost_itemid, undef, undef);
         __delete_repost_record($entry_obj->journal, $entry_obj->jitemid, $u->userid);
     
-        return  { 'result' => 'OK' };
+        return  { 'result' => { 'delete' => 'OK' } } ;
     }
 
     return LJ::API::Error->get_error('entry_not_found');

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