fu: Close-up of Fu, bringing a scoop of water to her mouth (Default)
fu ([personal profile] fu) wrote in [site community profile] changelog2011-11-07 11:21 am

[dw-free] better organization of LJ functions

[commit: http://hg.dwscoalition.org/dw-free/rev/cab163e5dd3b]

http://bugs.dwscoalition.org/show_bug.cgi?id=3965

Remove unused variable @LJ::views (remnant from s1)

Patch by [personal profile] kareila.

Files modified:
  • cgi-bin/ljlib.pl
--------------------------------------------------------------------------------
diff -r 54cc18fd5a38 -r cab163e5dd3b cgi-bin/ljlib.pl
--- a/cgi-bin/ljlib.pl	Mon Nov 07 18:31:09 2011 +0800
+++ b/cgi-bin/ljlib.pl	Mon Nov 07 19:19:30 2011 +0800
@@ -125,8 +125,7 @@
 # used uniformly by server code which uses the protocol.
 $LJ::PROTOCOL_VER = ($LJ::UNICODE ? "1" : "0");
 
-# declare views (calls into ljviews.pl)
-@LJ::views = qw(lastn read archive day);
+# declare views for user journals
 %LJ::viewinfo = (
                  "lastn" => {
                      "des" => "Most Recent Events",
--------------------------------------------------------------------------------