r82234 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r82233‎ | r82234 | r82235 >
Date:11:57, 16 February 2011
Author:demon
Status:ok
Tags:
Comment:
MFT r80370
Modified paths:
  • /branches/wmf/1.17wmf1/extensions/CentralAuth/CentralAuthUser.php (modified) (history)

Diff [purge]

Index: branches/wmf/1.17wmf1/extensions/CentralAuth/CentralAuthUser.php
@@ -1746,6 +1746,16 @@
17471747
17481748 self::deleteSession();
17491749 }
 1750+
 1751+ /**
 1752+ * Get the domain parameter for setting a global cookie.
 1753+ * This allows other extensions to easily set global cookies without directly relying on
 1754+ * $wgCentralAuthCookieDomain (in case CentralAuth's implementation changes at some point).
 1755+ */
 1756+ static function getCookieDomain() {
 1757+ global $wgCentralAuthCookieDomain;
 1758+ return $wgCentralAuthCookieDomain;
 1759+ }
17501760
17511761 /**
17521762 * Check a global auth token against the one we know of in the database.
Property changes on: branches/wmf/1.17wmf1/extensions/CentralAuth/CentralAuthUser.php
___________________________________________________________________
Added: svn:mergeinfo
17531763 Merged /branches/new-installer/phase3/extensions/CentralAuth/CentralAuthUser.php:r43664-66004
17541764 Merged /branches/wmf-deployment/extensions/CentralAuth/CentralAuthUser.php:r60970
17551765 Merged /branches/REL1_15/phase3/extensions/CentralAuth/CentralAuthUser.php:r51646
17561766 Merged /branches/wmf/1.16wmf4/extensions/CentralAuth/CentralAuthUser.php:r67177,69199,76243,77266
17571767 Merged /trunk/extensions/CentralAuth/CentralAuthUser.php:r80370
17581768 Merged /branches/sqlite/extensions/CentralAuth/CentralAuthUser.php:r58211-58321
17591769 Merged /trunk/phase3/extensions/CentralAuth/CentralAuthUser.php:r79828,79830,79848,79853,79950-79951,79954,79989,80006-80007,80013,80016,80080,80083,80124,80128,80238,81833

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r80370adding basic getCookieDomain functionkaldari00:50, 15 January 2011

Status & tagging log