holyandrew (holyandrew) wrote in changelog,
holyandrew
holyandrew
changelog

[livejournal] r23464: LJSUP-14552: 3. List of messages, left c...

Committer: akanashin
LJSUP-14552: 3. List of messages, left column - Create JSON-RPC methods to mark, unmark and delete whole conversation at once
U   trunk/cgi-bin/LJ/NotificationInbox.pm
Modified: trunk/cgi-bin/LJ/NotificationInbox.pm
===================================================================
--- trunk/cgi-bin/LJ/NotificationInbox.pm	2012-12-12 12:38:56 UTC (rev 23463)
+++ trunk/cgi-bin/LJ/NotificationInbox.pm	2012-12-12 12:53:45 UTC (rev 23464)
@@ -531,7 +531,7 @@
     my $u = $self->u;
     my $uid = $self->u->id;
 
-    return 0 unless $self->can_add_bookmark;
+    return 0 unless LJ::is_enabled('inbox_controller') || $self->can_add_bookmark;
 
     my $sql = "INSERT IGNORE INTO notifybookmarks (userid, qid) VALUES (?, ?)";
     $u->do($sql, undef, $uid, $qid);

Tags: akanashin, holyandrew, 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