Remove dead code from ContentAccess::addFieldValues()

Created on 23 April 2025, about 1 month ago

Problem/Motivation

This code part is not used anymore anywhere in the code:

    static $anonymous_user;

    if (!isset($anonymous_user)) {
      // Load the anonymous user.
      $anonymous_user = new AnonymousUserSession();
    }

Let's get rid of that.

It was used to be used back in the old days: https://git.drupalcode.org/project/search_api/-/commit/dc21f12ca665a81bc...

Steps to reproduce

Proposed resolution

Remaining tasks

📌 Task
Status

Active

Version

1.0

Component

General code

Created by

🇭🇺Hungary mxr576 Hungary

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024