r114384 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r114383‎ | r114384 | r114385 >
Date:17:55, 21 March 2012
Author:awjrichards
Status:ok
Tags:
Comment:
Adding wfIncrStats() call when mf_useformat cookie gets set
Modified paths:
  • /trunk/extensions/MobileFrontend/MobileFrontend.body.php (modified) (history)

Diff [purge]

Index: trunk/extensions/MobileFrontend/MobileFrontend.body.php
@@ -1520,6 +1520,7 @@
15211521 // so we can ignore $wgCookieHttpOnly since the protection it provides
15221522 // is irrelevant for this cookie.
15231523 setcookie( self::$useFormatCookieName, $useFormat, $expiry, $wgCookiePath, $wgCookieDomain, $wgCookieSecure );
 1524+ wfIncrStats( 'mobile.useformat_' . $useFormat . '_cookie_set' );
15241525 }
15251526
15261527 /**

Follow-up revisions

RevisionCommit summaryAuthorDate
r114385MFT r114384awjrichards18:02, 21 March 2012

Status & tagging log