r80607 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r80606‎ | r80607 | r80608 >
Date:00:38, 20 January 2011
Author:tomasz
Status:deferred
Tags:
Comment:
Picking up r80370
Modified paths:
  • /branches/wmf/1.16wmf4/extensions/CentralAuth (modified) (history)
  • /branches/wmf/1.16wmf4/extensions/CentralAuth/CentralAuthUser.php (modified) (history)

Diff [purge]

Index: branches/wmf/1.16wmf4/extensions/CentralAuth/CentralAuthUser.php
@@ -1753,6 +1753,16 @@
17541754 }
17551755
17561756 /**
 1757+ * Get the domain parameter for setting a global cookie.
 1758+ * This allows other extensions to easily set global cookies without directly relying on
 1759+ * $wgCentralAuthCookieDomain (in case CentralAuth's implementation changes at some point).
 1760+ */
 1761+ static function getCookieDomain() {
 1762+ global $wgCentralAuthCookieDomain;
 1763+ return $wgCentralAuthCookieDomain;
 1764+ }
 1765+
 1766+ /**
17571767 * Check a global auth token against the one we know of in the database.
17581768 */
17591769 function validateAuthToken( $token ) {
Property changes on: branches/wmf/1.16wmf4/extensions/CentralAuth/CentralAuthUser.php
___________________________________________________________________
Modified: svn:mergeinfo
17601770 Merged /trunk/extensions/CentralAuth/CentralAuthUser.php:r80370
Property changes on: branches/wmf/1.16wmf4/extensions/CentralAuth
___________________________________________________________________
Modified: svn:mergeinfo
17611771 Merged /trunk/extensions/CentralAuth:r80370

Past revisions this follows-up on

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

Status & tagging log