Comments

berdir’s picture

Status: Active » Needs review
StatusFileSize
new236.59 KB

Here's the patch. This should be ready if it passes.

tim.plunkett’s picture

Shouldn't this also have

diff --git a/core/lib/Drupal/Core/Session/UserSession.php b/core/lib/Drupal/Core/Session/UserSession.php
index 41d55fc..b3dae61 100644
--- a/core/lib/Drupal/Core/Session/UserSession.php
+++ b/core/lib/Drupal/Core/Session/UserSession.php
@@ -19,7 +19,7 @@ class UserSession implements AccountInterface {
    *
    * @var int
    */
-  public $uid;
+  protected $uid;
 
   /**
    * Session hostname.

To be sure it passes?

berdir’s picture

Yes, let's do that.

Status: Needs review » Needs work

The last submitted patch, user-ng-methods-2039199-62-uid-only.patch, failed testing.

berdir’s picture

Status: Needs work » Needs review
StatusFileSize
new1.16 KB
new238.14 KB

Hm.

japicoder’s picture

Status: Needs review » Reviewed & tested by the community

Huge patch to review but I found my way to do it. I think everything is fine.

dries’s picture

Status: Reviewed & tested by the community » Fixed

Committed to 8.x. Thanks.

berdir’s picture

Issue tags: -sprint

Untagging.

Automatically closed -- issue fixed for 2 weeks with no activity.