wiki.techinc.nl/includes/context
Aaron Schulz f31a0463aa Fixed importScopedSession() and moved exportUserSession() to RequestContext.
* Renamed WebRequest::exportUserSession -> RequestContext::exportSession.
  Updated the only callers of this new function.
* Init the user with User::newFromId() instead of relying on the session
  (which breaks when things like CentralAuth are enabled).
* Made RequestContext::exportSession() include the user ID.
* Removed now-redundant user ID checks in upload jobs.
* Added unit tests for the session import function.

Change-Id: I543e6766f7a8a828ea5d270328c3bc7738c6fe94
2013-03-15 12:49:54 -07:00
..
ContextSource.php Fixed importScopedSession() and moved exportUserSession() to RequestContext. 2013-03-15 12:49:54 -07:00
DerivativeContext.php Update doc comments and code formatting. 2013-01-11 16:56:04 +01:00
IContextSource.php Fixed importScopedSession() and moved exportUserSession() to RequestContext. 2013-03-15 12:49:54 -07:00
RequestContext.php Fixed importScopedSession() and moved exportUserSession() to RequestContext. 2013-03-15 12:49:54 -07:00