vadvs (vadvs) wrote in changelog,
vadvs
vadvs
changelog

[livejournal] r18012: LJSUP-7445: Try & buy

Committer: vsukhanov
LJSUP-7445: Try & buy
U   trunk/bin/upgrading/proplists.dat
U   trunk/cgi-bin/ljcapabilities.pl
Modified: trunk/bin/upgrading/proplists.dat
===================================================================
--- trunk/bin/upgrading/proplists.dat	2011-01-12 07:27:32 UTC (rev 18011)
+++ trunk/bin/upgrading/proplists.dat	2011-01-12 11:06:02 UTC (rev 18012)
@@ -1613,3 +1613,10 @@
   prettyname: External URL
   sortorder: 107
 
+userproplist.trynbuy_enabled_at:
+  datatype: num
+  des: The moment when user enabled trynbuy feature
+  cldversion: 8
+  prettyname: The moment when user enabled trynbuy feature
+
+

Modified: trunk/cgi-bin/ljcapabilities.pl
===================================================================
--- trunk/cgi-bin/ljcapabilities.pl	2011-01-12 07:27:32 UTC (rev 18011)
+++ trunk/cgi-bin/ljcapabilities.pl	2011-01-12 11:06:02 UTC (rev 18012)
@@ -3,7 +3,7 @@
 
 sub class_bit {
     my ($class) = @_;
-    foreach my $bit (0..15) {
+    foreach my $bit (0..65) {
         my $def = $LJ::CAP{$bit};
         next unless $def->{_key} && $def->{_key} eq $class;
         return $bit;

Tags: dat, livejournal, pl, vadvs
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