vadvs (vadvs) wrote in changelog,
vadvs
vadvs
changelog

[livejournal] r19291: LJSUP-9104: move uniqs to global cluster...

Committer: vsukhanov
LJSUP-9104: move uniqs to global cluster
U   trunk/cgi-bin/LJ/UniqCookie.pm
Modified: trunk/cgi-bin/LJ/UniqCookie.pm
===================================================================
--- trunk/cgi-bin/LJ/UniqCookie.pm	2011-06-15 08:49:45 UTC (rev 19290)
+++ trunk/cgi-bin/LJ/UniqCookie.pm	2011-06-15 08:53:02 UTC (rev 19291)
@@ -379,6 +379,8 @@
 
 sub ensure_cookie_value {
     my $class = shift;
+    return;
+=head LJSUP-8676: set ljuniq cookie on client side. it allows to cached pages for logged-out users.
     return unless LJ::is_web_context();
 
     return unless LJ::Request->is_inited;
@@ -429,7 +431,6 @@
     # set this new or transformed uniq in Apache request notes
     $class->set_current_uniq($uniq);
 
-=head LJSUP-8676: set ljuniq cookie on client side. it allows to cached pages for logged-out users.
     if ($setting_new && ! $hook_saved_mapping && ! $class->is_disabled) {
         my $remote = LJ::get_remote();
         $class->save_mapping($uniq => $remote) if $remote;

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