Brad Whitaker (whitaker) wrote in changelog,
Brad Whitaker
whitaker
changelog

livejournal

Module Name: livejournal
Committed By: whitaker
Date: Wed Aug 31 00:50:42 UTC 2005

Modified Files:
---------------
livejournal/cgi-bin: ljlib.pl

Log Message:
------------
New constraint on areas in the 'counter' table (LJ::alloc_global_counter)

* 0-9 are reserved for local (ljcom) use by hooks
* everything else is available to general lj code

2 new ljcom hooks:

-- map_global_counter_domain: given an area string, return the area (0-9)
to which it maps.

-- global_counter_init_value: when LJ::alloc_global_counter needs to
generate an initial value for an area on the 'counter' table, what
should it be?


To generate a diff of this commit:
cvs rdiff -r1.884 -r1.885 livejournal/cgi-bin/ljlib.pl
http://cvs.livejournal.org/browse.cgi/livejournal/cgi-bin/ljlib.pl.diff?r1=1.884&r2=1.885
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