I've replaced Database::getConnection() with \Drupal::database()
This is default way in Drupal Core.

Please review my changes

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

id.tarzanych created an issue. See original summary.

id.tarzanych’s picture

  • salvis committed 1895c22 on 8.x-1.x
    #2610538 by id.tarzanych: Replace Database::getConnection() with \Drupal...
salvis’s picture

Assigned: id.tarzanych » Unassigned
Status: Needs review » Fixed

Thank you, id.tarzanych!

Status: Fixed » Closed (fixed)

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