r87000 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r86999‎ | r87000 | r87001 >
Date:00:51, 27 April 2011
Author:nimishg
Status:ok
Tags:
Comment:
changing cookie expiry to 90 days as per request, will be backported to trunk later
Modified paths:
  • /branches/wmf/1.17wmf1/extensions/CustomUserSignup/CustomUserSignup.hooks.php (modified) (history)

Diff [purge]

Index: branches/wmf/1.17wmf1/extensions/CustomUserSignup/CustomUserSignup.hooks.php
@@ -123,7 +123,7 @@
124124 // *NOT HTTPONLY* In fact, that's the point of this cookie
125125
126126 setcookie( 'acctcreation' , $buckets['AccountCreation'][0] ,
127 - time() + 60 * 60 * 24 * 365 );
 127+ time() + 60 * 60 * 24 * 90 ); // 90 days
128128
129129 $session = $wgRequest->getCookie( 'clicktracking-session', "" );
130130 if ( $session !== null ) {
@@ -142,4 +142,4 @@
143143 return true;
144144 }
145145
146 -}
\ No newline at end of file
 146+}

Status & tagging log