журнал (shhh) wrote in changelog,
журнал
shhh
changelog

[livejournal] r22931: LJSUP-13514: Create JournalPromo Widget ...

Committer: nnikulochkina
LJSUP-13514: Create JournalPromo Widget for Control Strip
U   trunk/cgi-bin/LJ/User.pm
Modified: trunk/cgi-bin/LJ/User.pm
===================================================================
--- trunk/cgi-bin/LJ/User.pm	2012-09-19 14:09:51 UTC (rev 22930)
+++ trunk/cgi-bin/LJ/User.pm	2012-09-19 14:49:48 UTC (rev 22931)
@@ -6606,6 +6606,11 @@
     return $u->{push_subscriptions}{$key} || {};
 }
 
+sub disable_promo_announce {
+    my $u = shift;
+    $u->set_prop('promo_announce_disabled', 1);
+}
+
 sub promo_announce_disabled {
     my $u = shift;
     return $u->prop('promo_announce_disabled') || 0;

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