ReplicaDatabaseIgnoreSubscriber mentions non-existent function

Created on 11 May 2015, almost 10 years ago
Updated 30 January 2023, about 2 years ago

Problem/Motivation

ReplicaDatabaseIgnoreSubscriber has the following documentation:

    // ... Code that wants to disable the replica server should
    // use the db_set_ignore_replica() function to set
    // $_SESSION['ignore_replica_server'] to the timestamp after which the replica
    // can be re-enabled.

There is no function db_set_ignore_replica(), though. The actual function is called db_ignore_replica().

Proposed resolution

Replace db_set_ignore_replica() with db_ignore_replica().

Remaining tasks

After this issue is committed, re-open 📌 Reformat comments to 80 characters in ReplicaDatabaseIgnoreSubscriber::checkReplicaServer() comments Closed: outdated .

User interface changes

None

API changes

None

Beta phase evaluation

<!--Uncomment the relevant rows for the issue. -->
🐛 Bug report
Status

Needs work

Version

9.5

Component
Database 

Last updated about 17 hours ago

  • Maintained by
  • 🇳🇱Netherlands @daffie
Created by

🇩🇪Germany tstoeckler Essen, Germany

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • The Needs Review Queue Bot tested this issue. It either no longer applies to Drupal core, or fails the Drupal core commit checks. Therefore, this issue status is now "Needs work".

    Apart from a re-roll or rebase, this issue may need more work to address feedback in the issue or MR comments. To progress an issue, incorporate this feedback as part of the process of updating the issue. This helps other contributors to know what is outstanding.

    Consult the Drupal Contributor Guide to find step-by-step guides for working with issues.

Production build 0.71.5 2024